diff options
author | June McEnroe <june@causal.agency> | 2019-03-27 22:19:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-27 22:19:22 -0400 |
commit | 27255d093b863efd331d993fea7c1f28b6ff4b00 (patch) | |
tree | cc87989e16b50fdc90483b91bd55d38a80ac4ab6 /Makefile | |
parent | Remove unneeded include (diff) | |
download | cards-27255d093b863efd331d993fea7c1f28b6ff4b00.tar.gz cards-27255d093b863efd331d993fea7c1f28b6ff4b00.zip |
Add FreeCell
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile index c843fc8..299616d 100644 --- a/Makefile +++ b/Makefile @@ -7,20 +7,23 @@ LDLIBS = -lSDL2 -include config.mk -BINS = dump sol -OBJS = cards.o dump.o sol.o +BINS = dump freecell sol +OBJS = cards.o dump.o freecell.o sol.o all: $(BINS) dump: cards.o dump.o $(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump +freecell: cards.o freecell.o + $(CC) $(LDFLAGS) cards.o freecell.o $(LDLIBS) -o freecell + sol: cards.o sol.o $(CC) $(LDFLAGS) cards.o sol.o $(LDLIBS) -o sol $(OBJS): cards.h -sol.o: layout.h stack.h +freecell.o sol.o: layout.h stack.h clean: rm -f $(BINS) $(OBJS) |