src/FOL/IsaMakefile
changeset 2433 91016075afe8
child 2472 e5b407ff3100
equal deleted inserted replaced
2432:527b5f1b7520 2433:91016075afe8
       
     1 #
       
     2 # $Id$
       
     3 #
       
     4 # IsaMakefile for FOL
       
     5 #
       
     6 
       
     7 OUT = $(ISABELLE_OUTPUT_DIR)
       
     8 
       
     9 FILES =	ROOT.ML IFOL.thy IFOL.ML FOL.thy FOL.ML intprover.ML simpdata.ML \
       
    10 	../Provers/hypsubst.ML ../Provers/classical.ML \
       
    11 	../Provers/simplifier.ML ../Provers/splitter.ML ../Provers/ind.ML
       
    12 
       
    13 EX_NAMES = If List Nat Nat2 Prolog declIffOracle IffOracle
       
    14 EX_FILES = ex/ROOT.ML ex/cla.ML ex/foundn.ML ex/int.ML ex/intro.ML \
       
    15 	   ex/prop.ML ex/quant.ML $(EX_NAMES:%=ex/%.thy) $(EX_NAMES:%=ex/%.ML)
       
    16 
       
    17 
       
    18 $(OUT)/FOL: $(OUT)/Pure $(FILES)
       
    19 	@$(ISABELLE_HOME)/bin/isabelle -e "make_html := $(ISABELLE_HTML);" -qu Pure FOL
       
    20 	@chmod -w $@
       
    21 
       
    22 $(OUT)/Pure:
       
    23 	@cd ../Pure; $(ISABELLE_HOME)/bin/isatool make
       
    24 
       
    25 test: ex/ROOT.ML $(OUT)/FOL $(EX_FILES)
       
    26 	@$(ISABELLE_HOME)/bin/isabelle -e "make_html := $(ISABELLE_HTML);" \
       
    27 	  -e 'exit_use_dir "ex"; quit();' -rq FOL
       
    28 
       
    29 .PRECIOUS: $(OUT)/Pure $(OUT)/FOL