src/CTT/IsaMakefile
author haftmann
Thu, 04 Oct 2007 19:41:55 +0200
changeset 24841 df8448bc7a8b
parent 19761 5cd82054c2c6
child 28500 4b79e5d3d0aa
permissions -rw-r--r--
concept for exceptions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     1
#
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     2
# $Id$
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     3
#
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for CTT
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     5
#
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
     6
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     7
## targets
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     8
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     9
default: CTT
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    10
images: CTT
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    11
test: CTT-ex
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    12
all: images test
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    13
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 2823
diff changeset
    18
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    19
LOG = $(OUT)/log
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    20
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    21
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    22
## CTT
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    24
CTT: Pure $(OUT)/CTT
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    25
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
Pure:
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    27
	@cd $(SRC)/Pure; $(ISATOOL) make Pure
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    28
19761
5cd82054c2c6 removed obsolete ML files;
wenzelm
parents: 10467
diff changeset
    29
$(OUT)/CTT: $(OUT)/Pure $(SRC)/Provers/typedsimp.ML Arith.thy \
5cd82054c2c6 removed obsolete ML files;
wenzelm
parents: 10467
diff changeset
    30
  Bool.thy CTT.thy Main.thy ROOT.ML rew.ML
2823
1262592be579 isatool usedir;
wenzelm
parents: 2491
diff changeset
    31
	@$(ISATOOL) usedir -b $(OUT)/Pure CTT
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    32
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    33
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    34
## CTT-ex
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    35
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    36
CTT-ex: CTT $(LOG)/CTT-ex.gz
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    37
19761
5cd82054c2c6 removed obsolete ML files;
wenzelm
parents: 10467
diff changeset
    38
$(LOG)/CTT-ex.gz: $(OUT)/CTT ex/ROOT.ML ex/Elimination.thy \
5cd82054c2c6 removed obsolete ML files;
wenzelm
parents: 10467
diff changeset
    39
  ex/Equality.thy ex/Synthesis.thy ex/Typechecking.thy
2823
1262592be579 isatool usedir;
wenzelm
parents: 2491
diff changeset
    40
	@$(ISATOOL) usedir $(OUT)/CTT ex
2491
82f105e8a0f9 IsaMakefile for CTT;
wenzelm
parents:
diff changeset
    41
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    42
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    43
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    44
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    45
clean:
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    46
	@rm -f $(OUT)/CTT $(LOG)/CTT.gz $(LOG)/CTT-ex.gz