summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 68e6a17..e6c8651 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,14 @@ LDLIBS = -lSDL2
 
 -include config.mk
 
-BINS = dump
-OBJS = cards.o dump.o
+BINS = demo dump
+OBJS = cards.o demo.o dump.o
 
 all: $(BINS)
 
+demo: cards.o demo.o
+	$(CC) $(LDFLAGS) cards.o demo.o $(LDLIBS) -o demo
+
 dump: cards.o dump.o
 	$(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump