Minor documentation edits.
[zddfun.git] / Makefile
blob3788dfa47d2955ce77bd3ad5c88421bc06f34492
1 .PHONY: target test clean public
3 CFLAGS := -O2 -Wall -std=gnu99
5 # I recommend appending -ltcmalloc for a slight boost.
6 LDFLAGS := -lgmp
8 zddcore := memo darray zdd io inta
10 ready := dom fill light loop nono
12 tests := cycle_test tiling_test
14 misc := sud nuri
16 binaries := $(ready) $(tests) $(misc)
18 target: $(ready)
20 test: $(tests)
22 define rule_fn
23 $(1) : $(addsuffix .o,$(1) $(zddcore))
24 endef
26 $(foreach x,$(binaries),$(eval $(call rule_fn,$(x))))
28 clean:
29 -rm $(addsuffix .o,$(binaries)) $(addsuffix .o,$(zddcore))
31 public:
32 git push git@github.com:blynn/zddfun.git
33 git push git+ssh://repo.or.cz/srv/git/zddfun.git