summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
blob: 494449c5260bc1fabb69ce9e30381162b0756fdb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

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 result/half.out result/updown2.out \
        result/rfollow.out result/cosinus.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)