summaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: 7d5aac004ecce502b9c493369cd4f46f3005507e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ALL_OUT=result/limiter.out result/limitera.out result/locals.out \
		result/test4.out result/test5.out result/test7.out \
		result/train.out result/updown.out result/updown_fail.out \
		result/test0.out result/test1.out result/test2.out result/test3.out \
		result/test6.out result/testc.out \
		result/gilbreath.out

bin/%.test: source/%.scade test.c
	rm kcg/*
	kcg64 -target C -node test $<
	gcc -o $@ test.c kcg/*.c -I./kcg

result/%.out: bin/%.test
	$< > $@

all: $(ALL_OUT)