From d7f6ab3147996c3240b5899adf108776ac2cbc43 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Wed, 6 Nov 2002 23:00:37 +0000 Subject: [PATCH] Oops... experiment gon awry in makerules. This works for Solaris, but not Linux, evidently. The goal was to do a dependency update on only files that had changed, since Solaris is so gawdawful slow at doing CC -xM --- Make/makerules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Make/makerules b/Make/makerules index 36c5f3d1b..ac8dd6aa4 100644 --- a/Make/makerules +++ b/Make/makerules @@ -137,6 +137,7 @@ Makedepend : $(CXXFILES) $(CFILES) ifeq ($(OS),IRIX) touch $@ else +ifeq (0,1) # This is an experiment @ [ -d depend ] || mkdir depend @ rm -f $@; for f in $?; do \ @@ -144,8 +145,9 @@ else $(C++) $(INC) $(DEPARG) > depend/$$ff ;\ echo "include depend/$$ff" >> $@;\ done - -# $(C++) $(INC) $(DEPARG) $^ > $(MAKEDEPEND) +else + $(C++) $(INC) $(DEPARG) $^ > $(MAKEDEPEND) +endif endif