Makefile revision d6c6ad132dcecc84fe71dbeeab6dba0e21483393
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# Year: 2004
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# This Makefile will compile the new hets system and provides also
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# targets for test programs during implementation phases.
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# !!! Note: This makefile is written for GNU make !!!
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm# (gmake on solaris)
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm####################################################################
e9df3bcdd3387ec845d1fea626de245aa8d7e93bpjrm## Some varibles, which control the compilation
empty =
DRIFT_ENV = \
INSTALLDIR = \
# flags also come in via ../uni/uni-package.conf
$@.hs -o $@
$(APPENDPRELUDESTRING) < $< > $@
#include sources_hetcats.mk
$(wildcard utils/GenerateRules/*.hs) \
$(wildcard utils/InlineAxioms/*.hs) \
#.PRECIOUS: sources_hetcats.mk
$(RM) $@
$(HC_FLAGS) -O
# "HetCATS/hetcats.TAGS"
(cd utils/GenerateRules; \
GenerateRules.hs -o ../genRules && strip ../genRules)
-i../.. -o $(INLINEAXIOMS)
if [ -d ../programatica ] ; then \
gen_atc_files = \
### also delete *.d.bak (dependency file backups)
ghci:
### ATerm.Lib test system
## two hardcoded dependencies for a correct generation of Version.hs
.SUFFIXES:
%: %.hs
$(HAPPY) $<
%.hs: %.y
$(HAPPY) -o $@ $<
$(INLINEAXIOMS) $< > $@
%.d : %.hs
%.d : %.lhs
## rule for Modal/ModalSystems.hs needed for ModalLogic Translation