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).
This commit is contained in:
Bruce Evans 1999-04-11 04:11:27 +00:00
parent 51e4098148
commit 5c2d3329d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45582

View file

@ -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
#-----------------------------------------------------------------------