about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-10 22:05:54 -0400
committerJune McEnroe <june@causal.agency>2019-03-10 22:05:54 -0400
commit6526886cd0208e011ddcd65ad0bb5b1be234b4b6 (patch)
tree1dba0d58f7f81f74863b1b6caf77eb52bea03322 /Makefile
parentAdd exefmt.txt (diff)
downloadcards-6526886cd0208e011ddcd65ad0bb5b1be234b4b6.tar.gz
cards-6526886cd0208e011ddcd65ad0bb5b1be234b4b6.zip
Add cards.h, cards.c, dump.c
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b58b5e5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CFLAGS += -Wall -Wextra
+
+-include config.mk
+
+BINS = dump
+OBJS = cards.o dump.o
+
+dump: cards.o dump.o
+	$(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump
+
+$(OBJS): cards.h
+
+clean:
+	rm -f $(BINS) $(OBJS)