summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-19 20:31:26 -0500
committerJune McEnroe <june@causal.agency>2022-01-19 20:31:26 -0500
commitcb8d1b637275434b64bdcd448afd2e9a2e269f80 (patch)
tree4db93b9aae7bc36c0cc6340f533cf2bb948b35e4 /Makefile
parentAllow choosing freecell game on command line (diff)
downloadwep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.tar.gz
wep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.zip
Replace build system with cmake
Thanks to cr1901 for helping to test this on Windows.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 03bb0ad..0000000
--- a/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-CFLAGS += -std=c99 -Wall -Wextra -Wpedantic
-CFLAGS += -Icards
-
-include config.mk
-
-BINS = freecell sol
-OBJS = ${BINS:%=%.o}
-
-all: ${BINS}
-
-${BINS}: cards/cards.o
-
-.o:
-	${CC} ${LDFLAGS} $< cards/cards.o ${LDLIBS} -o $@
-
-${OBJS} cards/cards.o: cards/cards.h
-
-${OBJS}: asset.h stack.h
-
-sol.o: layout.h
-
-cards/cards.h:
-	git submodule update --init
-
-clean:
-	rm -f ${BINS} *.o cards/*.o