X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=75efaf3fdb135d0e4a77423f85e43740ec0bc325;hb=a7553dfdcd407ffaed23fa945cf5cad32e91b74c;hp=f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f;hpb=0a304c57bbfad64d7ad5ac3c124b6d43fd12b327;p=matchsticks-search.git diff --git a/Makefile b/Makefile index f86d6ae..75efaf3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99 CFLAGS += $(CMDLINE_CFLAGS) -CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\"" +CPPFLAGS += -DVERSION="\"`git describe --tags --dirty=+`\"" LC_CTYPE=C LDLIBS = -lpub -lglpk -lm all: main + +test: test.pl main + ./test.pl + +clean: + rm -f main