1 #########################################################################
3 # Makefile for Isabelle (Modal) #
5 #########################################################################
7 #To make the system, cd to this directory and type
9 #To make the system and test it on standard examples, type
10 # make -f Makefile test
12 #Environment variable ISABELLECOMP specifies the compiler.
13 #Environment variable ISABELLEBIN specifies the destination directory.
14 #For Poly/ML, ISABELLEBIN must begin with a /
16 #Makes LK if this file is ABSENT -- but not
17 #if it is out of date, since this Makefile does not know its dependencies!
20 COMP = $(ISABELLECOMP)
21 FILES = ROOT.ML modal0.thy prover.ML t.thy s4.thy s43.thy
22 EX_FILES = ex/ROOT.ML ex/S43thms.ML ex/S4thms.ML ex/Tthms.ML
24 #Uses cp rather than make_database because Poly/ML allows only 3 levels
25 $(BIN)/Modal: $(BIN)/LK $(FILES)
27 poly*) cp $(BIN)/LK $(BIN)/Modal;\
28 echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/Modal ;;\
29 sml*) echo 'use"ROOT.ML"; xML"$(BIN)/Modal" banner;' | $(BIN)/LK;;\
30 *) echo Bad value for ISABELLECOMP;;\
36 test: ex/ROOT.ML $(BIN)/Modal $(EX_FILES)
38 poly*) echo 'use"ex/ROOT.ML"; quit();' | $(COMP) $(BIN)/Modal ;;\
39 sml*) echo 'use"ex/ROOT.ML";' | $(BIN)/Modal;;\
40 *) echo Bad value for ISABELLECOMP;;\
43 .PRECIOUS: $(BIN)/LK $(BIN)/Modal