summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-11-18 22:50:52 -0800
committerkaa <kaa@disroot.org>2023-11-18 22:50:52 -0800
commit5a30f14c78f7f82c41680b983bea4ce2fa938226 (patch)
tree8a53275bd3cf2f275213ba10e9969068d258b301 /makefile
Initial.
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