Add cgtests.mk, which builds the cgtests using GNU make.
This may go away, or it may end up as a replacement for compile-cgtests.
This commit is contained in:
parent
d021edbd48
commit
6456dad42e
13
cgtests.mk
Normal file
13
cgtests.mk
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# GNUmakefile for compiling the cgtests using Tock.
|
||||||
|
|
||||||
|
tests = $(patsubst %.occ,%,$(wildcard cgtests/cgtest??.occ))
|
||||||
|
|
||||||
|
all: $(tests)
|
||||||
|
|
||||||
|
cgtests/%: cgtests/%.occ
|
||||||
|
./tock -v --backend=cppcsp -o $@ $<
|
||||||
|
|
||||||
|
run-all: $(addprefix run-,$(tests))
|
||||||
|
|
||||||
|
run-cgtests/%: cgtests/%
|
||||||
|
cgtests/$*
|
Loading…
Reference in New Issue
Block a user