[project @ 2004-08-12 10:45:51 by simonmar]
authorsimonmar <unknown>
Thu, 12 Aug 2004 10:45:51 +0000 (10:45 +0000)
committersimonmar <unknown>
Thu, 12 Aug 2004 10:45:51 +0000 (10:45 +0000)
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

index 9955af3..07520ef 100644 (file)
@@ -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)))