From 3ac62e921a2c1b4a2adfb7baa783765f42acfdab Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 12 Mar 1998 12:52:24 +0000 Subject: [PATCH] Fixed `make -jN depend' (N >= 2) by removing the beforedepend target. .ORDER doesn't work right, but is used for things related to the depend target. It "works" for the depend target by skipping the build of .depend when N >= 2 and there is a non-default beforedepend target with no rules. Recent fixes made almost all the beforedepend targets in the tree a no-op except for this bug. Removed vestiges of elf and aout targets. --- gnu/usr.bin/cc/cc_tools/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 76ba0457b35..54b553676b0 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.7 1998/03/06 13:34:36 bde Exp $ +# $Id: Makefile,v 1.8 1998/03/08 05:29:49 peter Exp $ # # @@ -130,18 +130,15 @@ ${COMMONHDRS}: echo '#include "f2c-specs.h"' >> specs.h SRCS+= ${COMMONHDRS} -CLEANFILES+= elf aout #----------------------------------------------------------------------- # Everything in ${SRCS} is generated CLEANFILES+= ${SRCS} #----------------------------------------------------------------------- -all: ${COMMONHDRS} ${SRCS} +all: ${SRCS} #----------------------------------------------------------------------- -beforedepend: ${COMMONHDRS} - # We kept ${LOCOBJS} separate from ${OBJS} because adding all the # objects to ${OBJS} would give too many (cyclic) dependencies. # Add just enough dependencies for `make -j 1000' to work.