From 3b0be45b743aedbb4f365e47dd949ef7be8c5de2 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 11 Oct 2007 01:04:03 +0000 Subject: [PATCH] Changed the Makefile rules for the cgtests so that it will clean them, and so it won't connect to the SVN repository every time --- Makefile.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4c0bf14..04d59ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -74,11 +74,17 @@ clean-local: rm -f obj/*.o obj/*.hi rmdir obj -get-cgtests: +cgtests/cgtest00.occ: svn co https://subversion.frmb.org/pubsvn/cgtests/branches/tock cgtests -make-cgtests-c: get-cgtests +# We must clean the cgtests every time at the moment, because if someone makes make-cgtests-c then make-cgtests-cpp, they'll need a clean inbetween: +# In future we should give the version compiled using the C++ backend a different extension: + +make-cgtests-c: tock cgtests/cgtest00.occ clean-cgtests ./compile-cgtests --backend=c -make-cgtests-cpp: get-cgtests +make-cgtests-cpp: tock cgtests/cgtest00.occ clean-cgtests ./compile-cgtests --backend=cppcsp + +clean-cgtests: + rm -f cgtests/cgtest??