chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename {n,m}_over_best to {n,m}_max_frags to reflect way used in most of the code
[matchsticks-search.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index af97bd23fabf36eb663bba7b52b9ad18e655361d..f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+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
LC_CTYPE=C
+LDLIBS = -lpub -lglpk -lm
all: main
all: main