about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-20 00:56:33 -0400
committerJune McEnroe <june@causal.agency>2019-03-20 00:56:33 -0400
commitd0e804ede2f1e86c3c23b129dd8533aa3971a878 (patch)
tree4850c828ea1394c2ef942de8a703b8e8bffde3cb /Makefile
parentOnly check errors from create calls (diff)
downloadcards-d0e804ede2f1e86c3c23b129dd8533aa3971a878.tar.gz
cards-d0e804ede2f1e86c3c23b129dd8533aa3971a878.zip
Add WIP sol.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6c8651..59dea6a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ LDLIBS = -lSDL2
 
 -include config.mk
 
-BINS = demo dump
-OBJS = cards.o demo.o dump.o
+BINS = demo dump sol
+OBJS = cards.o demo.o dump.o sol.o
 
 all: $(BINS)
 
@@ -18,7 +18,12 @@ demo: cards.o demo.o
 dump: cards.o dump.o
 	$(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump
 
+sol: cards.o sol.o
+	$(CC) $(LDFLAGS) cards.o sol.o $(LDLIBS) -o sol
+
 $(OBJS): cards.h
 
+sol.o: stack.h
+
 clean:
 	rm -f $(BINS) $(OBJS)