X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=matchsticks-search.git;a=blobdiff_plain;f=Makefile;h=c8e179f72d037e38dcaacd48cc7fa1528cbde0ff;hp=96ede561bacd00501a7f4801ee763c24b640ae61;hb=33c2116932d26da928f87e70cb16c97358d8bf0c;hpb=5bab6fc9666dfd922b4b705dc75fa81d2c1351f9 diff --git a/Makefile b/Makefile index 96ede56..c8e179f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99 +CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\"" LC_CTYPE=C LDLIBS = -lpub -lglpk -lm