?prevdifflink? - Blame
###############################################################################
#
# Generic rule for compilation with GHC or running the ghci interpreter.
#
# This makefile requires three global variables:
# GHC - Program configuration of "ghc" Glasgow Haskell Compiler
# (in makerules.configuration)
# GHC_OPTS - "ghc" program options
# (in makerules.configuration)
# GHC_LIBS - "ghc" program options (libraries required for compilation)
# (in makerules.configuration)
#
%: %.hs ${wildcard *.hs *.lhs}
${GHC} ${GHC_OPTS} -i${GHC_LIBS} --make $*.hs -o $@
ghci:
${GHCi} ${GHC_OPTS} -i${GHC_LIBS}
|