X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f;hb=410a6030c8746d4369842cb0e0e35606c7ea4130;hp=96ede561bacd00501a7f4801ee763c24b640ae61;hpb=2177fb88cf454cf4625f8a76ef583e3a7eade323;p=matchsticks-search.git diff --git a/Makefile b/Makefile index 96ede56..f86d6ae 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99 +CFLAGS += $(CMDLINE_CFLAGS) +CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\"" LC_CTYPE=C LDLIBS = -lpub -lglpk -lm