src/CTT/IsaMakefile
changeset 2491 82f105e8a0f9
child 2823 1262592be579
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/CTT/IsaMakefile	Wed Jan 08 14:58:39 1997 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +#
     1.5 +# $Id$
     1.6 +#
     1.7 +# IsaMakefile for CTT
     1.8 +#
     1.9 +
    1.10 +OUT = $(ISABELLE_OUTPUT_DIR)
    1.11 +
    1.12 +FILES =	ROOT.ML CTT.thy CTT.ML Bool.thy Bool.ML \
    1.13 +	Arith.thy Arith.ML rew.ML ../Provers/typedsimp.ML
    1.14 +
    1.15 +EX_FILES = ex/ROOT.ML ex/elim.ML ex/equal.ML ex/synth.ML ex/typechk.ML
    1.16 +
    1.17 +$(OUT)/CTT: $(OUT)/Pure $(FILES)
    1.18 +	@$(ISABELLE) -e "make_html := $(ISABELLE_HTML);" -qu $(OUT)/Pure CTT
    1.19 +	@chmod -w $@
    1.20 +
    1.21 +$(OUT)/Pure:
    1.22 +	@cd ../Pure; $(ISATOOL) make
    1.23 +
    1.24 +test: ex/ROOT.ML $(OUT)/CTT $(EX_FILES)
    1.25 +	@$(ISABELLE) -e 'make_html := $(ISABELLE_HTML); exit_use"ex/ROOT.ML"; quit();' \
    1.26 +	  -rq $(OUT)/CTT
    1.27 +
    1.28 +.PRECIOUS: $(OUT)/Pure $(OUT)/CTT