summary refs log tree commit diff
path: root/cards/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cards/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/cards/Makefile b/cards/Makefile
new file mode 100644
index 0000000..488245d
--- /dev/null
+++ b/cards/Makefile
@@ -0,0 +1,17 @@
+CFLAGS += -std=c99 -Wall -Wextra -Wpedantic
+
+include config.mk
+
+BINS = dump example
+
+all: ${BINS}
+
+${BINS}: cards.o
+
+.o:
+	${CC} ${LDFLAGS} $< cards.o ${LDLIBS} -o $@
+
+cards.o dump.o example.o: cards.h
+
+clean:
+	rm -f ${BINS} *.o *.bmp