summaryrefslogtreecommitdiff
path: root/rules/build-prog.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-04-28 08:52:33 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-04-28 08:52:33 +0000
commitc59c053f0b8613dd128297ee0b6eef31f001c498 (patch)
tree5014a3c4a3e904b9f0f849c9085f2e68c2475b72 /rules/build-prog.mk
parent762babe6ccf1c5f63e0b077e9abfdb0d86d4cc78 (diff)
downloadhaskell-c59c053f0b8613dd128297ee0b6eef31f001c498.tar.gz
Add a header to all build system files:
# ----------------------------------------------------------------------------- # # (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 # # -----------------------------------------------------------------------------
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r--rules/build-prog.mk16
1 files changed, 14 insertions, 2 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 46dd5af273..1a2256b17b 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