diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
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) |