From e411f3a998d7c0acd019c1361d8810de480274ad Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 6 Mar 1998 13:13:15 +0000 Subject: [PATCH] Fixed `make -jN' for large N. Just put the generated headers in ${SRCS} instead of giving inadequate explicit dependencies. There is still a problem after `make depend; make clean'. Then `make' barely works, and `make -jN' is confused by absolute paths in .depend. --- gnu/usr.bin/as/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/as/Makefile b/gnu/usr.bin/as/Makefile index d86c0252142d..4e25646d6374 100644 --- a/gnu/usr.bin/as/Makefile +++ b/gnu/usr.bin/as/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 6.1 (Berkeley) 3/3/91 -# $Id$ +# $Id: Makefile,v 1.12 1997/02/22 15:43:22 peter Exp $ .include "config/Makefile.$(MACHINE)" @@ -21,7 +21,7 @@ SRCS+= app.c as.c atof-generic.c bignum-copy.c \ frags.c hash.c hex-value.c input-file.c input-scrub.c \ listing.c messages.c obstack.c output-file.c read.c subsegs.c \ symbols.c version.c write.c xmalloc.c xrealloc.c \ - obj-$(gas_objformat).c + obj-$(gas_objformat).c ${CONF_HEADERS} CFLAGS+= -I$(.CURDIR) ${ADDINCLUDE} -I$(.CURDIR)/config \ -DOLD_GAS -DSIGTY=void -Derror=as_fatal \ -DSUB_SEGMENT_ALIGN=4 -DFREEBSD_AOUT @@ -32,8 +32,6 @@ CONF_HEADERS= targ-cpu.h obj-format.h host.h targ-env.h SUBDIR+= doc -beforedepend ${PROG}: ${CONF_HEADERS} - targ-cpu.h: Makefile config/Makefile.$(MACHINE) $(.CURDIR)/config/tc-$(gas_target).h @cmp -s $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h || \ ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f targ-cpu.h ; \