X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=26fa92b5b3fe991293ebc62403d1a7d654387cd6;hb=621cca6b657fd955da0f1e309b0df5d6cf0901e7;hp=c8e179f72d037e38dcaacd48cc7fa1528cbde0ff;hpb=33c2116932d26da928f87e70cb16c97358d8bf0c;p=matchsticks-search.git diff --git a/Makefile b/Makefile index c8e179f..26fa92b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,16 @@ CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99 -CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\"" +CFLAGS += $(CMDLINE_CFLAGS) +CPPFLAGS += -DVERSION="\"`git describe --tags --dirty=+`\"" LC_CTYPE=C LDLIBS = -lpub -lglpk -lm all: main + +index.html: tabulate.py $(wildcard data/*) + ./tabulate.py > $@ + +test: test.pl main + ./test.pl + +clean: + rm -f main