summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 4073cad..d306161 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,15 @@
-%.test: %.scade test.c
+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/test0.out result/test1.out result/test2.out result/test3.out \
+ result/test6.out result/testc.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)