From 6c09a02013e550a12ca30e7c3fbf0fcdbcac888b Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 30 Jan 2002 16:25:20 +0000 Subject: [PATCH] [project @ 2002-01-30 16:25:20 by simonmar] Don't use :: rules for building HSstd.o, they cause it to be rebuilt every time. According to the GNU make manual, :: rules are vary rarely actually useful, and I'm sure we use them too much. --- ghc/lib/std/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index ab80987..4b9f456 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -114,14 +114,14 @@ DONT_WANT_STD_GHCI_LIB_RULE=YES ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" # Standard rule -HSstd.o :: $(GHCI_LIBOBJS) +HSstd.o : $(GHCI_LIBOBJS) $(LD) -r -x -o $@ $(GHCI_LIBOBJS) else # Rule for Win32 platform # Keep HSstd.o as a pseudo-target (I think) -HSstd.o :: $(GHCI_LIBOBJS) +HSstd.o : $(GHCI_LIBOBJS) $(LD) -r -x -o HSstd1.o $(filter Prel%, $(GHCI_LIBOBJS)) $(LD) -r -x -o HSstd2.o $(filter-out Prel%, $(GHCI_LIBOBJS)) @touch HSstd.o -- 1.7.10.4