src/Pure/IsaMakefile
changeset 4518 74c01296e818
parent 4484 220ccae8a590
child 4688 033566671199
     1.1 --- a/src/Pure/IsaMakefile	Tue Jan 06 12:32:43 1998 +0100
     1.2 +++ b/src/Pure/IsaMakefile	Wed Jan 07 13:53:42 1998 +0100
     1.3 @@ -1,38 +1,51 @@
     1.4 -#
     1.5 -#  $Id$
     1.6  #
     1.7 -# IsaMakefile for Pure Isabelle
     1.8 +# $Id$
     1.9  #
    1.10 -# The Pure part is common to all systems. Object-logics (like FOL)
    1.11 -# are loaded on top of it.
    1.12 +# IsaMakefile for Pure
    1.13  #
    1.14  
    1.15 +## targets
    1.16 +
    1.17 +default: Pure
    1.18 +images: Pure
    1.19 +test:
    1.20 +all: images test
    1.21 +
    1.22 +
    1.23 +## global settings
    1.24 +
    1.25 +SRC = $(ISABELLE_HOME)/src
    1.26  OUT = $(ISABELLE_OUTPUT)
    1.27 +LOG = $(OUT)/log
    1.28 +
    1.29  
    1.30 -FILES = ML-Systems/mlworks.ML ML-Systems/polyml.ML ML-Systems/smlnj-0.93.ML \
    1.31 -	ML-Systems/smlnj.ML ROOT.ML Syntax/ROOT.ML Syntax/ast.ML \
    1.32 -	Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML Syntax/pretty.ML \
    1.33 -	Syntax/printer.ML Syntax/symbol_font.ML Syntax/syn_ext.ML \
    1.34 -	Syntax/syn_trans.ML Syntax/syntax.ML Syntax/token_trans.ML \
    1.35 -	Syntax/type_ext.ML Thy/ROOT.ML Thy/browser_info.ML Thy/context.ML Thy/file.ML \
    1.36 -	Thy/path.ML Thy/thm_database.ML Thy/thy_info.ML Thy/thy_parse.ML \
    1.37 -	Thy/thy_read.ML Thy/thy_scan.ML Thy/thy_syn.ML Thy/use.ML \
    1.38 -	axclass.ML basis.ML deriv.ML display.ML drule.ML envir.ML \
    1.39 -	goals.ML install_pp.ML library.ML logic.ML name_space.ML net.ML \
    1.40 -	pattern.ML pure_thy.ML search.ML section_utils.ML seq.ML sign.ML \
    1.41 -	sorts.ML table.ML tactic.ML tctical.ML term.ML theory.ML thm.ML \
    1.42 -	type.ML type_infer.ML unify.ML
    1.43 +## Pure
    1.44 +
    1.45 +Pure: $(OUT)/Pure
    1.46  
    1.47 -$(OUT)/Pure: $(FILES)
    1.48 +$(OUT)/Pure: ML-Systems/mlworks.ML ML-Systems/polyml.ML \
    1.49 +  ML-Systems/smlnj-0.93.ML ML-Systems/smlnj.ML ROOT.ML Syntax/ROOT.ML \
    1.50 +  Syntax/ast.ML Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML \
    1.51 +  Syntax/pretty.ML Syntax/printer.ML Syntax/symbol_font.ML \
    1.52 +  Syntax/syn_ext.ML Syntax/syn_trans.ML Syntax/syntax.ML \
    1.53 +  Syntax/token_trans.ML Syntax/type_ext.ML Thy/ROOT.ML \
    1.54 +  Thy/browser_info.ML Thy/context.ML Thy/file.ML Thy/path.ML \
    1.55 +  Thy/thm_database.ML Thy/thy_info.ML Thy/thy_parse.ML Thy/thy_read.ML \
    1.56 +  Thy/thy_scan.ML Thy/thy_syn.ML Thy/use.ML axclass.ML basis.ML deriv.ML \
    1.57 +  display.ML drule.ML envir.ML goals.ML install_pp.ML library.ML \
    1.58 +  logic.ML name_space.ML net.ML pattern.ML pure_thy.ML search.ML \
    1.59 +  section_utils.ML seq.ML sign.ML sorts.ML table.ML tactic.ML tctical.ML \
    1.60 +  term.ML theory.ML thm.ML type.ML type_infer.ML unify.ML
    1.61  	@./mk
    1.62  
    1.63 -RAW: $(FILES)
    1.64 +
    1.65 +## RAW
    1.66 +
    1.67 +RAW:
    1.68  	@./mk -r
    1.69  
    1.70 -test: $(OUT)/Pure
    1.71 +
    1.72 +## clean
    1.73  
    1.74  clean:
    1.75 -	@rm -f $(OUT)/Pure $(OUT)/RAW
    1.76 -
    1.77 -
    1.78 -.PRECIOUS: $(OUT)/Pure $(OUT)/RAW
    1.79 +	@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(OUT)/RAW $(LOG)/RAW.gz