*.sh: remove hard-coded bits with config.pl
[girocco/ztw.git] / Makefile
blob75cd47751ae66f8e75a324f1a330dd3371dfbee5
2 SRCS = $(wildcard *.in)
3 TARGETS = $(SRCS:%.in=%)
5 all: $(TARGETS) config.txt
7 $(TARGETS): %: %.in config.txt
8 ./config.pl < $< > $@
9 chmod +x $@
11 config.txt: config.pl
12 ./config.pl -u
13 touch $(SRCS)
15 clean: $(TARGETS)
16 rm -f $^