summaryrefslogtreecommitdiff
path: root/mk/paths.mk
diff options
context:
space:
mode:
authorqrczak <unknown>2001-07-17 21:12:33 +0000
committerqrczak <unknown>2001-07-17 21:12:33 +0000
commite9f4cd43007af71289c679e2107918179f7f5cda (patch)
treed087e5df3f10bf7d1043a6b221e935a628c5000e /mk/paths.mk
parentab5f7f9d5afd3c4dd68fdef9808c997b0f4f7402 (diff)
downloadhaskell-e9f4cd43007af71289c679e2107918179f7f5cda.tar.gz
[project @ 2001-07-17 21:12:33 by qrczak]
Include way in HSC_C_OBJS to clean *_hsc.p_o too.
Diffstat (limited to 'mk/paths.mk')
-rw-r--r--mk/paths.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/paths.mk b/mk/paths.mk
index 9b13de7216..b143fed3d1 100644
--- a/mk/paths.mk
+++ b/mk/paths.mk
@@ -134,7 +134,7 @@ HS_HCS = $(addsuffix .$(way_)hc,$(basename $(HS_SRCS)))
HS_SS = $(addsuffix .$(way_)s,$(basename $(HS_SRCS)))
HS_IFACES = $(addsuffix .$(way_)hi,$(basename $(HS_SRCS)))
-HSC_C_OBJS = $(patsubst %.hsc, %_hsc.o, $(filter %.hsc, $(SRCS)))
+HSC_C_OBJS = $(addsuffix _hsc.$(way_)o,$(basename $(filter %.hsc,$(SRCS))))
C_SRCS = $(filter %.c,$(SRCS))
C_OBJS = $(addsuffix .$(way_)o,$(basename $(C_SRCS)))