[dc207e]: test / Makefile Maximize Restore History

Download this file

Makefile    33 lines (23 with data), 482 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# pisg test suite
CFG=$(wildcard *.cfg)
HTML=$(subst .cfg,.html,$(CFG))
PISG=../pisg/pisg
#PISG=pisg
all: $(HTML)
%.html: %.cfg
$(PISG) -s -co $<
clean:
rm -f $(HTML) *.html.old 04.log ??.cache/*
test ! -d 03.cache || rmdir 03.cache
test ! -d 04.cache || rmdir 04.cache
cachetest: all
for i in *.html ; do mv $$i $$i.old ; done
$(MAKE) all
# special rules
03.html: 03.cache
04.log: 03_*.log
cat $^ > $@
04.html: 04.log 04.cache
%.cache:
mkdir $@
# vim:noexpandtab: