X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fhi-rule.mk;h=c30a0934d278bd203017a6fb52f4e0077016cbbb;hb=d5629b335a3254612887be8091b76dbdf2b582f8;hp=07b65ed8e102fad30647dc148c9f1da7337f1d97;hpb=34cc75e1a62638f2833815746ebce0a9114dc26b;p=ghc-hetmet.git diff --git a/rules/hi-rule.mk b/rules/hi-rule.mk index 07b65ed..c30a093 100644 --- a/rules/hi-rule.mk +++ b/rules/hi-rule.mk @@ -1,3 +1,15 @@ +# ----------------------------------------------------------------------------- +# +# (c) 2009 The University of Glasgow +# +# This file is part of the GHC build system. +# +# To understand how the build system works and how to modify it, see +# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture +# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying +# +# ----------------------------------------------------------------------------- + # Here's an interesting rule! # The .hi file depends on the .o file, @@ -12,14 +24,12 @@ define hi-rule # $1 = way @if [ ! -f $$@ ] ; then \ echo Panic! $$< exists, but $$@ does not.; \ exit 1; \ - else exit 0 ; \ fi %.$$($1_way_)hi-boot : %.$$($1_way_)o-boot @if [ ! -f $$@ ] ; then \ echo Panic! $$< exists, but $$@ does not.; \ exit 1; \ - else exit 0 ; \ fi endef