X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-prog.mk;h=1a2256b17b4c3540ac4f6f559718e7038167a183;hb=c59c053f0b8613dd128297ee0b6eef31f001c498;hp=46dd5af2731662c87de96a9967b3266098c8828a;hpb=762babe6ccf1c5f63e0b077e9abfdb0d86d4cc78;p=ghc-hetmet.git diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 46dd5af..1a2256b 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -1,11 +1,23 @@ +# ----------------------------------------------------------------------------- +# +# (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 +# +# ----------------------------------------------------------------------------- + -# Build a program with the stage-1 compiler. Invoke like this: +# Build a program. Invoke like this: # # utils/genapply_MODULES = Main # utils/genapply_HC_OPTS = -package Cabal # utils/genapply_dist_PROG = genapply # -# $(eval $(call build-prog,utils/genapply,dist-install)) +# $(eval $(call build-prog,utils/genapply,dist-install,1)) define build-prog # $1 = dir