X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=139319be8531e42c7d00b89191429f648a15bbf7;hb=7a2ba235dadef137c886a2ffc5e23d64a2b6eae7;hp=e91ae036b62f91a997301fd356dd94441b52c8c0;hpb=63f39a339d46152875081ec5772868b23deba821;p=matchsticks-search.git diff --git a/Makefile b/Makefile index e91ae03..139319b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ -CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g +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 +LDLIBS = -lpub -lglpk -lm all: main