X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f;hb=410a6030c8746d4369842cb0e0e35606c7ea4130;hp=af97bd23fabf36eb663bba7b52b9ad18e655361d;hpb=8f790b20274793eb7de88fa16aac9eb5beed32c7;p=matchsticks-search.git diff --git a/Makefile b/Makefile index af97bd2..f86d6ae 100644 --- 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 +LDLIBS = -lpub -lglpk -lm all: main