about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
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)