From: simonmar Date: Thu, 12 Aug 2004 10:45:51 +0000 (+0000) Subject: [project @ 2004-08-12 10:45:51 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1756 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=af621730109cadcb693063ac82ee2e0765b8bbe4 [project @ 2004-08-12 10:45:51 by simonmar] Finally fix this problem: make: *** No rule to make target `Text/Regex/Posix_hsc_make.c', needed by `depend'. Stop. caused by temporary droppings from hsc2hs. --- diff --git a/mk/paths.mk b/mk/paths.mk index 9955af3..07520ef 100644 --- a/mk/paths.mk +++ b/mk/paths.mk @@ -209,6 +209,9 @@ EXCLUDED_C_SRCS = $(patsubst %.lhs, %_stub.c, $(HS_SRCS)) \ $(patsubst %.gc, %_stub_ffi.h, $(GC_SRCS)) endif +# These are droppings from hsc2hs - ignore them if we see them. +EXCLUDED_C_SRCS = $(patsubst %.hsc, %_hsc_make.c, $(HSC_SRCS)) + C_SRCS = $(filter-out $(EXCLUDED_C_SRCS),$(filter %.c,$(SRCS))) C_OBJS = $(addsuffix .$(way_)o,$(basename $(C_SRCS)))