From 0addb8f5d4588daf25278964a1363c1006222f45 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 20 Nov 2002 13:34:20 +0000 Subject: [PATCH] [project @ 2002-11-20 13:34:20 by simonmar] Back out rev. 1.233 --- ghc/compiler/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 8fb48c5..f3142b2 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -538,10 +538,8 @@ MKDEPENDHS_HC_OPTS = $(patsubst -i$(odir)/%, -i%, $(HC_OPTS)) MKDEPENDHS=$(HC) -depend :: .depend-$(stage) - # Must do this *after* including target.mk, because $(HS_SRCS) isn't set yet. -.depend-$(stage) : $(HS_SRCS) $(C_SRCS) +depend :: $(HS_SRCS) $(C_SRCS) $(MKDEPENDHS) -M -optdep-f -optdep.depend-BASE $(foreach way,$(WAYS),-optdep-s -optdep$(way)) $(foreach obj,$(MKDEPENDHS_OBJ_SUFFICES),-osuf $(obj)) $(MKDEPENDHS_OPTS) $(filter-out -split-objs, $(MKDEPENDHS_HC_OPTS)) $(HS_SRCS) $(MKDEPENDC) -f .depend-BASE $(MKDEPENDC_OPTS) $(foreach way,$(WAYS),-s $(way)) -- $(CC_OPTS) -- $(C_SRCS) $(PERL) -pe 'binmode(stdin); binmode(stdout); s@^(\S*\.o)@stage$(stage)/$$1@g; s@(\S*\.hi)@stage$(stage)/$$1@g' <.depend-BASE >.depend-$(stage) -- 1.7.10.4