chiark / gitweb /
Add a make target for the web page.
[matchsticks-search.git] / Makefile
1 CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99
2 CFLAGS += $(CMDLINE_CFLAGS)
3 CPPFLAGS += -DVERSION="\"`git describe --tags --dirty=+`\""
4 LC_CTYPE=C
5 LDLIBS = -lpub -lglpk -lm
6
7 all: main
8
9 index.html: tabulate.py $(wildcard data/*)
10         ./tabulate.py > $@
11
12 test: test.pl main
13         ./test.pl
14
15 clean:
16         rm -f main