src/LCF/IsaMakefile
changeset 4447 b7ee449eb345
parent 3505 1cb4ea47d967
child 4518 74c01296e818
--- a/src/LCF/IsaMakefile	Fri Dec 19 10:18:03 1997 +0100
+++ b/src/LCF/IsaMakefile	Fri Dec 19 10:18:58 1997 +0100
@@ -5,6 +5,8 @@
 #
 
 OUT = $(ISABELLE_OUTPUT)
+LOG = $(OUT)/log
+
 FILES =	ROOT.ML LCF.thy LCF.ML simpdata.ML pair.ML fix.ML
 
 $(OUT)/LCF: $(OUT)/FOL $(FILES)
@@ -13,7 +15,13 @@
 $(OUT)/FOL:
 	@cd ../FOL; $(ISATOOL) make
 
-test: ex/ROOT.ML ex/ex.ML $(OUT)/LCF
+$(LOG)/LCF-ex.gz: ex/ROOT.ML ex/ex.ML $(OUT)/LCF
 	@$(ISATOOL) usedir $(OUT)/LCF ex
 
+test: $(OUT)/LCF $(LOG)/LCF-ex.gz
+
+clean:
+	@rm -f $(OUT)/LCF $(LOG)/LCF-ex.gz
+
+
 .PRECIOUS: $(OUT)/FOL $(OUT)/LCF