2487
|
1 |
#
|
|
2 |
# $Id$
|
|
3 |
#
|
|
4 |
# IsaMakefile for Cube
|
|
5 |
#
|
|
6 |
|
4518
|
7 |
## targets
|
|
8 |
|
|
9 |
default: Cube
|
|
10 |
images: Cube
|
|
11 |
test: Cube-ex
|
|
12 |
all: images test
|
|
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 |
## Cube
|
|
23 |
|
|
24 |
Cube: Pure $(OUT)/Cube
|
2487
|
25 |
|
4518
|
26 |
Pure:
|
|
27 |
@cd $(SRC)/Pure; $(ISATOOL) make Pure
|
|
28 |
|
17252
|
29 |
$(OUT)/Cube: $(OUT)/Pure Cube.thy ROOT.ML
|
2819
|
30 |
@$(ISATOOL) usedir -b $(OUT)/Pure Cube
|
2487
|
31 |
|
4518
|
32 |
|
|
33 |
## Cube-ex
|
2487
|
34 |
|
4518
|
35 |
Cube-ex: Cube $(LOG)/Cube-ex.gz
|
|
36 |
|
17252
|
37 |
$(LOG)/Cube-ex.gz: $(OUT)/Cube ex/ex.thy ex/ROOT.ML
|
2819
|
38 |
@$(ISATOOL) usedir $(OUT)/Cube ex
|
2487
|
39 |
|
4518
|
40 |
|
|
41 |
## clean
|
4447
|
42 |
|
|
43 |
clean:
|
4518
|
44 |
@rm -f $(OUT)/Cube $(LOG)/Cube.gz $(LOG)/Cube-ex.gz
|