author | wenzelm |
Fri, 16 Mar 2012 22:22:05 +0100 | |
changeset 46972 | ef6fc1a0884d |
parent 45860 | 93eda35a8377 |
permissions | -rw-r--r-- |
2488 | 1 |
# |
2 |
# IsaMakefile for LCF |
|
3 |
# |
|
4 |
||
4518 | 5 |
## targets |
6 |
||
7 |
default: LCF |
|
8 |
images: LCF |
|
9 |
test: LCF-ex |
|
10 |
all: images test |
|
45860 | 11 |
full: all |
42138
e54a985daa61
added make target 'smlnj' to refer to what can/should be tested using smlnj -- allows the use of "isabelle makeall smlnj";
krauss
parents:
36862
diff
changeset
|
12 |
smlnj: all |
4518 | 13 |
|
14 |
||
15 |
## global settings |
|
16 |
||
17 |
SRC = $(ISABELLE_HOME)/src |
|
3118 | 18 |
OUT = $(ISABELLE_OUTPUT) |
4447 | 19 |
LOG = $(OUT)/log |
20 |
||
4518 | 21 |
|
22 |
## LCF |
|
23 |
||
24 |
LCF: FOL $(OUT)/LCF |
|
2488 | 25 |
|
4518 | 26 |
FOL: |
28500 | 27 |
@cd $(SRC)/FOL; $(ISABELLE_TOOL) make FOL |
4518 | 28 |
|
19757 | 29 |
$(OUT)/LCF: $(OUT)/FOL LCF.thy ROOT.ML |
28500 | 30 |
@$(ISABELLE_TOOL) usedir -b -r $(OUT)/FOL LCF |
2488 | 31 |
|
4518 | 32 |
|
33 |
## LCF-ex |
|
2488 | 34 |
|
4518 | 35 |
LCF-ex: LCF $(LOG)/LCF-ex.gz |
36 |
||
19755 | 37 |
$(LOG)/LCF-ex.gz: $(OUT)/LCF ex/Ex1.thy ex/Ex2.thy ex/Ex3.thy ex/Ex4.thy ex/ROOT.ML |
28500 | 38 |
@$(ISABELLE_TOOL) usedir $(OUT)/LCF ex |
2488 | 39 |
|
4518 | 40 |
|
41 |
## clean |
|
4447 | 42 |
|
43 |
clean: |
|
4518 | 44 |
@rm -f $(OUT)/LCF $(LOG)/LCF.gz $(LOG)/LCF-ex.gz |