Makefile revision 760ae19a92dde8249679a674f93f58d26a7c5f6b
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2004
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# This Makefile will compile the new hetcats system and provides also
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# targets for test programs during implementation phases.
CLEAN_PATH = Common:Logic:CASL:Syntax:Static:GUI:HasCASL:Haskell:Modal:CspCASL:ATC:ToHaskell:Proofs:Comorphisms:Isabelle:$(INCLUDE_PATH):Haskell/Hatchet
# -fglasgow-exts comes in via ../uni/uni-package.conf
#.PRECIOUS: sources_hetcats.mk
$(RM) $@
(cd utils/GenerateRules; \
$(casl_files)
utils/genRules -r $(rule) -o ATC -h ATC/$(basename $(basename $(notdir $(file)))).header.hs $(file); \
### also delete *.d.bak (dependency file backups)
$(RM) $@
ghci:
$(RM) $@
$(RM) $@
$(RM) $@
$(RM) $@
$(RM) $@
$(RM) $@
$(RM) $@
### ATerm.Lib test system
$(RM) $@
$(RM) $@
$(HC) --make -o $@ $< $(HC_OPTS) -package-conf ../uni/uni-package.conf -package uni-davinci -package uni-server
## two hardcoded dependencies for a correct generation of Version.hs
$(HAPPY) $<
%.d : %.hs
%.d : %.lhs