Make the backend a variable in cgtests.mk.
This commit is contained in:
parent
aff90d8d45
commit
a621daac9f
|
@ -1,5 +1,6 @@
|
||||||
# GNUmakefile for compiling the cgtests using Tock.
|
# GNUmakefile for compiling the cgtests using Tock.
|
||||||
|
|
||||||
|
BACKEND ?= cppcsp
|
||||||
tests = $(patsubst %.occ,%,$(wildcard cgtests/cgtest??.occ))
|
tests = $(patsubst %.occ,%,$(wildcard cgtests/cgtest??.occ))
|
||||||
|
|
||||||
all: $(tests)
|
all: $(tests)
|
||||||
|
@ -7,8 +8,8 @@ all: $(tests)
|
||||||
checkout:
|
checkout:
|
||||||
svn co http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk/tests/cgtests
|
svn co http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk/tests/cgtests
|
||||||
|
|
||||||
cgtests/%: cgtests/%.occ
|
%: %.occ
|
||||||
./tock -vk --backend=cppcsp -o $@ $<
|
./tock -vk --backend=$(BACKEND) -o $@ $<
|
||||||
|
|
||||||
run-all: $(addprefix run-,$(tests))
|
run-all: $(addprefix run-,$(tests))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user