src/CCL/IsaMakefile
author wenzelm
Thu, 20 Mar 1997 11:11:53 +0100
changeset 2821 b1dcacc4bc26
parent 2489 7834b2677551
child 3057 a5a42ff18a40
permissions -rw-r--r--
isatool usedir;

#
# $Id$
#
# IsaMakefile for CCL
#

OUT = $(ISABELLE_OUTPUT_DIR)

SET_FILES = ROOT.ML Set.thy Set.ML subset.ML equalities.ML mono.ML \
	    Gfp.thy Gfp.ML Lfp.thy Lfp.ML

CCL_FILES = CCL.thy CCL.ML Term.thy Term.ML Type.thy Type.ML \
	    coinduction.ML Hered.thy Hered.ML Trancl.thy Trancl.ML \
	    Wfd.thy Wfd.ML genrec.ML typecheck.ML eval.ML Fix.thy Fix.ML

EX_FILES = ex/ROOT.ML ex/Flag.ML ex/Flag.thy ex/List.ML ex/List.thy \
	   ex/Nat.ML ex/Nat.thy ex/Stream.ML ex/Stream.thy


$(OUT)/CCL: $(OUT)/FOL $(SET_FILES) $(CCL_FILES)
	@$(ISATOOL) usedir -b -c $(OUT)/FOL CCL
	@chmod -w $@

$(OUT)/FOL:
	@cd ../FOL; $(ISATOOL) make

test: ex/ROOT.ML $(OUT)/CCL $(EX_FILES)
	@$(ISATOOL) usedir $(OUT)/CCL ex

.PRECIOUS: $(OUT)/FOL $(OUT)/CCL