doc-src/IsarAdvanced/Codegen/IsaMakefile
author haftmann
Sun Sep 14 21:50:35 2008 +0200 (2008-09-14 ago)
changeset 28213 b52f9205a02d
parent 26855 7bb3d2ee0606
child 28500 4b79e5d3d0aa
permissions -rw-r--r--
New outline for codegen tutorial -- draft
haftmann@20948
     1
haftmann@20948
     2
## targets
haftmann@20948
     3
haftmann@20948
     4
default: Thy
haftmann@20948
     5
images: 
haftmann@20948
     6
test: Thy
haftmann@20948
     7
haftmann@20948
     8
all: images test
haftmann@20948
     9
haftmann@20948
    10
haftmann@20948
    11
## global settings
haftmann@20948
    12
haftmann@20948
    13
SRC = $(ISABELLE_HOME)/src
haftmann@20948
    14
OUT = $(ISABELLE_OUTPUT)
haftmann@20948
    15
LOG = $(OUT)/log
haftmann@20948
    16
haftmann@20948
    17
USEDIR = $(ISATOOL) usedir -v true -i false -d false -C false -D document
haftmann@20948
    18
haftmann@20948
    19
haftmann@20948
    20
## Thy
haftmann@20948
    21
haftmann@20948
    22
THY = $(LOG)/HOL-Thy.gz
haftmann@20948
    23
haftmann@20948
    24
Thy: $(THY)
haftmann@20948
    25
haftmann@28213
    26
$(THY): Thy/ROOT.ML Thy/*.thy ../../antiquote_setup.ML
haftmann@20948
    27
	@$(USEDIR) HOL Thy
haftmann@20948
    28
haftmann@20948
    29
haftmann@20948
    30
## clean
haftmann@20948
    31
haftmann@20948
    32
clean:
haftmann@20948
    33
	@rm -f $(THY)