Changed the cgtests Makefile to use the new separate compilation for cglib
This commit is contained in:
parent
a1d9fcdff2
commit
c85dc01842
|
@ -6,13 +6,16 @@ tests = $(patsubst %.occ,%,$(wildcard cgtests/cgtest??.occ))
|
||||||
all: $(tests)
|
all: $(tests)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(tests)
|
rm -f $(tests) cgtests/cglib.inc
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
%: %.occ
|
%: %.occ cgtests/cglib.inc
|
||||||
./tock -vk --backend=$(BACKEND) --run-indent -o $@ $<
|
./tock -vk --backend=$(BACKEND) --usage-checking=off --run-indent -o $@ $<
|
||||||
|
|
||||||
|
cgtests/cglib.inc: cgtests/cglib.occ
|
||||||
|
./tock -vk --backend=$(BACKEND) --usage-checking=off --run-indent --no-main $<
|
||||||
|
|
||||||
run: $(tests)
|
run: $(tests)
|
||||||
cd cgtests && ./run-tests
|
cd cgtests && ./run-tests
|
||||||
|
|
Loading…
Reference in New Issue
Block a user