summaryrefslogtreecommitdiff
path: root/mk/paths.mk
diff options
context:
space:
mode:
authorrrt <unknown>2001-07-12 13:32:25 +0000
committerrrt <unknown>2001-07-12 13:32:25 +0000
commit9f3b6ad3eb33cf1a0e9036d2ef9d78ac47a18973 (patch)
tree1eff7c34c770d54a1b40abda623063ddefb114fd /mk/paths.mk
parent36d394f32e5617a9fca6061bdd1683032812b829 (diff)
downloadhaskell-9f3b6ad3eb33cf1a0e9036d2ef9d78ac47a18973.tar.gz
[project @ 2001-07-12 13:32:25 by rrt]
Rewire so that hsc.c files get built as part of cbits library.
Diffstat (limited to 'mk/paths.mk')
-rw-r--r--mk/paths.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/paths.mk b/mk/paths.mk
index 8c9f0363fe..9b13de7216 100644
--- a/mk/paths.mk
+++ b/mk/paths.mk
@@ -119,7 +119,9 @@ DERIVED_SRCS = $(patsubst %.hsc, %.hs, $(HSC_SRCS)) \
EXCLUDED_HSC_SRCS = $(filter %.hsc, $(EXCLUDED_SRCS))
EXCLUDED_DERIVED_SRCS = $(patsubst %.hsc, %.hs, $(EXCLUDED_HSC_SRCS)) \
$(patsubst %.hsc, %_hsc.h, $(EXCLUDED_HSC_SRCS)) \
- $(patsubst %.hsc, %_hsc.c, $(EXCLUDED_HSC_SRCS))
+ $(patsubst %.hsc, %_hsc.c, $(HSC_SRCS))
+# Exclude _hsc.c files; they get built as part of the cbits library,
+# not part of the main library
CLOSED_EXCLUDED_SRCS = $(sort $(EXCLUDED_SRCS) $(EXCLUDED_DERIVED_SRCS))