about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorphoebos <ben@bvnf.space>2021-07-06 18:25:01 +0100
committerphoebos <ben@bvnf.space>2021-07-06 18:25:01 +0100
commit820f54a47ef9f5f01d1abbc196eaa09d64cb09b4 (patch)
tree45214344bb50244eac57127e7f3d28ec3c1e78a5 /Makefile
parentfb8250fa0c3f6d1f052d36219ad5e3fa0852b4d4 (diff)
downloadkandr-820f54a47ef9f5f01d1abbc196eaa09d64cb09b4.tar.gz
base64: initial getopt and read files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b68d58a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+DEBUG=-g
+CFLAGS+=-Wall -Wextra -Wpedantic
+
+%.c :
+	$(CC) $(CFLAGS) $(DEBUG) $@
+
+base64: base64.c
+	$(CC) $(CFLAGS) $(DEBUG) -o $@ base64.c