diff options
| author | simonmar <unknown> | 2002-11-20 13:34:20 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 2002-11-20 13:34:20 +0000 |
| commit | 0addb8f5d4588daf25278964a1363c1006222f45 (patch) | |
| tree | a896a2a6cc591679b3ac4cfe8a513064670428cb | |
| parent | 018351b3bcf244486c1f19fe9532f61b99403524 (diff) | |
| download | haskell-0addb8f5d4588daf25278964a1363c1006222f45.tar.gz | |
[project @ 2002-11-20 13:34:20 by simonmar]
Back out rev. 1.233
| -rw-r--r-- | ghc/compiler/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 8fb48c52cd..f3142b2ed1 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) |
