IsaMakefile
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 26 Dec 2012 19:03:06 +0000
changeset 2 26b17f2d583e
parent 1 4b9aa15ff713
child 48 559e5c6e5113
permissions -rw-r--r--
updated


## targets

default: utm
images: utm
test: 

all: images test


## global settings

SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log

USEDIR = $(ISABELLE_TOOL) usedir -v true -i false -D generated


## utm

utm: $(OUT)/utm

$(OUT)/utm: *.thy
	@$(USEDIR) -f ROOT.ML -b HOL UTM

paper:  ROOT.ML \
	document/root* \
	*.thy
	rm -rf generated # otherwise latex will fall over 
	@$(USEDIR) -f ROOT1.ML UTM .
	$(ISABELLE_TOOL) document -o pdf  generated
	cp generated/root.pdf paper.pdf  


## clean

clean:
	@rm -f $(OUT)/utm