From 5c2d3329d83064cc0f90b5dd6f27b910865500ca Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 11 Apr 1999 04:11:27 +0000 Subject: [PATCH] Fixed unusable dependencies in `.depend'. The following comment in the code still applies, but the code attached to it had rotted: # ../Makefile.inc will put an absolute path to our objdir in CFLAGS. # Prevent mkdep from using it, so that we don't have to give rules for # aliases of generated headers. Many other makefiles seem to have the same bug (i.e., spelling "." as "${.OBJDIR}" or as an even more complicated alias in -I directives). --- gnu/usr.bin/cc/cc_tools/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 84af2a8065a3..872761ba2380 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.24 1999/04/08 23:37:46 obrien Exp $ +# $Id: Makefile,v 1.25 1999/04/09 18:46:48 bde Exp $ # # @@ -13,10 +13,12 @@ # Prevent mkdep from using it, so that we don't have to give rules for # aliases of generated headers. # -CFLAGS+= -I${GCCDIR}/objc +CFLAGS+= -I. .include "../Makefile.inc" +CFLAGS+= -I${GCCDIR}/objc + .PATH: ${GCCDIR} ${GCCDIR}/cp #-----------------------------------------------------------------------