summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-04-11 04:11:27 +0000
committerbde <bde@FreeBSD.org>1999-04-11 04:11:27 +0000
commitb4d0b18a2385715048cb63cd7af2435be4d54aba (patch)
tree8e0ac768b77a59d18df83450535d62200fbd7052 /gnu
parent928133047bb08e7eb6c8498a71b136a88ddcf799 (diff)
downloadFreeBSD-src-b4d0b18a2385715048cb63cd7af2435be4d54aba.zip
FreeBSD-src-b4d0b18a2385715048cb63cd7af2435be4d54aba.tar.gz
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).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 84af2a8..872761b 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
#-----------------------------------------------------------------------
OpenPOWER on IntegriCloud