From d0e804ede2f1e86c3c23b129dd8533aa3971a878 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 20 Mar 2019 00:56:33 -0400 Subject: Add WIP sol.c --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit 1.4.1