X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rules%2Fc-sources.mk;h=2f0eb9821d6715a6adbb1195aaea21a375cb9c1b;hp=8e90c702aaeb38cad613c210e8672e8983cb099d;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hpb=34cc75e1a62638f2833815746ebce0a9114dc26b diff --git a/rules/c-sources.mk b/rules/c-sources.mk index 8e90c70..2f0eb98 100644 --- a/rules/c-sources.mk +++ b/rules/c-sources.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-sources # args: $1 = dir, $2 = distdir $1_$2_C_FILES = $$(patsubst %,$1/%,$$($1_$2_C_SRCS)) $1_$2_S_FILES = $$(patsubst %,$1/%,$$($1_$2_S_SRCS))