summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-06-11 13:40:57 +0000
committerIan Lynagh <igloo@earth.li>2009-06-11 13:40:57 +0000
commitacf18dd9725b011450ae9098a501abf0ff9e93c7 (patch)
tree54bdd4a965b2b60e08ce67183a4085901d1cc7cb /rules/build-package.mk
parent96fff1ba94bd3a21da3fa797816bd6e82e4148ba (diff)
downloadhaskell-acf18dd9725b011450ae9098a501abf0ff9e93c7.tar.gz
Add rules for building .cmm files in libraries
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index 67d1831eb4..a25a3d2d1e 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -136,6 +136,9 @@ $(call c-objs,$1,$2,dyn)
$(call c-suffix-rules,$1,$2,dyn,YES)
endif
+$(call cmm-objs,$1,$2,v)
+$(call cmm-suffix-rules,$1,$2,v)
+
# Now generate all the build rules for each way in this directory:
$$(foreach way,$$($1_$2_WAYS),$$(eval $$(call build-package-way,$1,$2,$$(way),$3)))