chiark / gitweb /
move had_max and totalfrags update later in loop body (no functional change)
[matchsticks-search.git] / Makefile
index fa230a6cf45013c8b9a2721b11fde123b066ebb1..f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
-CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes
+CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99
+CFLAGS += $(CMDLINE_CFLAGS)
+CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\""
 LC_CTYPE=C
-LDLIBS = -lpub
+LDLIBS = -lpub -lglpk -lm
 
 all: main