summaryrefslogtreecommitdiff
path: root/rules/c-objs.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/c-objs.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/c-objs.mk')
-rw-r--r--rules/c-objs.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/c-objs.mk b/rules/c-objs.mk
index b8514b6d60..fbf35535fc 100644
--- a/rules/c-objs.mk
+++ b/rules/c-objs.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
+#
+# -----------------------------------------------------------------------------
+
define c-objs # args: $1 = dir, $2 = distdir
# C and S files are built only once, not once per way
$1_$2_C_OBJS = $$(patsubst %.c,$1/$2/build/%.$$(v_osuf),$$($1_$2_C_SRCS))