src/CTT/IsaMakefile
author wenzelm
Wed Jan 08 14:58:39 1997 +0100 (1997-01-08)
changeset 2491 82f105e8a0f9
child 2823 1262592be579
permissions -rw-r--r--
IsaMakefile for CTT;
wenzelm@2491
     1
#
wenzelm@2491
     2
# $Id$
wenzelm@2491
     3
#
wenzelm@2491
     4
# IsaMakefile for CTT
wenzelm@2491
     5
#
wenzelm@2491
     6
wenzelm@2491
     7
OUT = $(ISABELLE_OUTPUT_DIR)
wenzelm@2491
     8
wenzelm@2491
     9
FILES =	ROOT.ML CTT.thy CTT.ML Bool.thy Bool.ML \
wenzelm@2491
    10
	Arith.thy Arith.ML rew.ML ../Provers/typedsimp.ML
wenzelm@2491
    11
wenzelm@2491
    12
EX_FILES = ex/ROOT.ML ex/elim.ML ex/equal.ML ex/synth.ML ex/typechk.ML
wenzelm@2491
    13
wenzelm@2491
    14
$(OUT)/CTT: $(OUT)/Pure $(FILES)
wenzelm@2491
    15
	@$(ISABELLE) -e "make_html := $(ISABELLE_HTML);" -qu $(OUT)/Pure CTT
wenzelm@2491
    16
	@chmod -w $@
wenzelm@2491
    17
wenzelm@2491
    18
$(OUT)/Pure:
wenzelm@2491
    19
	@cd ../Pure; $(ISATOOL) make
wenzelm@2491
    20
wenzelm@2491
    21
test: ex/ROOT.ML $(OUT)/CTT $(EX_FILES)
wenzelm@2491
    22
	@$(ISABELLE) -e 'make_html := $(ISABELLE_HTML); exit_use"ex/ROOT.ML"; quit();' \
wenzelm@2491
    23
	  -rq $(OUT)/CTT
wenzelm@2491
    24
wenzelm@2491
    25
.PRECIOUS: $(OUT)/Pure $(OUT)/CTT