summaryrefslogtreecommitdiff
path: root/rules/c-objs.mk
diff options
context:
space:
mode:
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))