summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..c17d9af
--- /dev/null
+++ b/makefile
@@ -0,0 +1,11 @@
+CC = cc
+CFLAGS = -std=c89 -g -Wall
+#CC = tcc
+#CFLAGS = -Wall -g
+LDFLAGS = -static
+all: canup
+
+.c:
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
+clean:
+ rm canup