From af621730109cadcb693063ac82ee2e0765b8bbe4 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 12 Aug 2004 10:45:51 +0000 Subject: [PATCH] [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. --- mk/paths.mk | 3 +++ 1 file changed, 3 insertions(+) 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))) -- 1.7.10.4