src/CTT/IsaMakefile
changeset 4447 b7ee449eb345
parent 3505 1cb4ea47d967
child 4518 74c01296e818
--- a/src/CTT/IsaMakefile	Fri Dec 19 10:18:03 1997 +0100
+++ b/src/CTT/IsaMakefile	Fri Dec 19 10:18:58 1997 +0100
@@ -5,6 +5,7 @@
 #
 
 OUT = $(ISABELLE_OUTPUT)
+LOG = $(OUT)/log
 
 FILES =	ROOT.ML CTT.thy CTT.ML Bool.thy Bool.ML \
 	Arith.thy Arith.ML rew.ML ../Provers/typedsimp.ML
@@ -17,7 +18,13 @@
 $(OUT)/Pure:
 	@cd ../Pure; $(ISATOOL) make
 
-test: ex/ROOT.ML $(OUT)/CTT $(EX_FILES)
+$(LOG)/CTT-ex.gz: ex/ROOT.ML $(OUT)/CTT $(EX_FILES)
 	@$(ISATOOL) usedir $(OUT)/CTT ex
 
+test: $(OUT)/CTT $(LOG)/CTT-ex.gz
+
+clean:
+	@rm -f $(OUT)/CTT $(LOG)/CTT-ex.gz
+
+
 .PRECIOUS: $(OUT)/Pure $(OUT)/CTT