diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-05-09 20:44:08 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-05-09 20:44:08 +0100 |
commit | dca18dc7bc679a2fe2ed82e1b63129056bd58933 (patch) | |
tree | 6d5a847654b2ae859432c94a4cd2c3583ab40479 /rules/c-sources.mk | |
parent | ba00c33b8b2116a8f3ee13d28e5b5085ff265d58 (diff) | |
download | haskell-dca18dc7bc679a2fe2ed82e1b63129056bd58933.tar.gz |
Generate dependencies for .cmm files properly
Diffstat (limited to 'rules/c-sources.mk')
-rw-r--r-- | rules/c-sources.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/c-sources.mk b/rules/c-sources.mk index 2f0eb9821d..309f9a0e88 100644 --- a/rules/c-sources.mk +++ b/rules/c-sources.mk @@ -11,6 +11,7 @@ # ----------------------------------------------------------------------------- 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)) +$1_$2_C_FILES = $$(patsubst %,$1/%,$$($1_$2_C_SRCS)) +$1_$2_S_FILES = $$(patsubst %,$1/%,$$($1_$2_S_SRCS)) +$1_$2_CMM_FILES = $$(patsubst %,$1/%,$$($1_$2_CMM_SRCS)) endef |