src/CTT/IsaMakefile
author wenzelm
Fri Dec 19 10:18:58 1997 +0100 (1997-12-19)
changeset 4447 b7ee449eb345
parent 3505 1cb4ea47d967
child 4518 74c01296e818
permissions -rw-r--r--
log files;
'clean' target;
wenzelm@2491
     1
#
wenzelm@2491
     2
# $Id$
wenzelm@2491
     3
#
wenzelm@2491
     4
# IsaMakefile for CTT
wenzelm@2491
     5
#
wenzelm@2491
     6
wenzelm@3118
     7
OUT = $(ISABELLE_OUTPUT)
wenzelm@4447
     8
LOG = $(OUT)/log
wenzelm@2491
     9
wenzelm@2491
    10
FILES =	ROOT.ML CTT.thy CTT.ML Bool.thy Bool.ML \
wenzelm@2491
    11
	Arith.thy Arith.ML rew.ML ../Provers/typedsimp.ML
wenzelm@2491
    12
wenzelm@2491
    13
EX_FILES = ex/ROOT.ML ex/elim.ML ex/equal.ML ex/synth.ML ex/typechk.ML
wenzelm@2491
    14
wenzelm@2491
    15
$(OUT)/CTT: $(OUT)/Pure $(FILES)
wenzelm@2823
    16
	@$(ISATOOL) usedir -b $(OUT)/Pure CTT
wenzelm@2491
    17
wenzelm@2491
    18
$(OUT)/Pure:
wenzelm@2491
    19
	@cd ../Pure; $(ISATOOL) make
wenzelm@2491
    20
wenzelm@4447
    21
$(LOG)/CTT-ex.gz: ex/ROOT.ML $(OUT)/CTT $(EX_FILES)
wenzelm@2823
    22
	@$(ISATOOL) usedir $(OUT)/CTT ex
wenzelm@2491
    23
wenzelm@4447
    24
test: $(OUT)/CTT $(LOG)/CTT-ex.gz
wenzelm@4447
    25
wenzelm@4447
    26
clean:
wenzelm@4447
    27
	@rm -f $(OUT)/CTT $(LOG)/CTT-ex.gz
wenzelm@4447
    28
wenzelm@4447
    29
wenzelm@2491
    30
.PRECIOUS: $(OUT)/Pure $(OUT)/CTT