If <srcdir>/../Makefile.inc exists, pull it in as well before setting
CPPFLAGS, etc.
This commit is contained in:
parent
d63596f307
commit
3a2cae9ab1
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.host,v 1.2 2001/10/13 06:09:25 jmc Exp $
|
||||
# $NetBSD: Makefile.host,v 1.3 2001/10/22 05:30:47 jmc Exp $
|
||||
|
||||
# Preload <bsd.obj.mk> to set up obj rules (with proper ${.CURDIR}).
|
||||
.include <bsd.obj.mk>
|
||||
|
@ -12,6 +12,9 @@ HOSTPROG?= ${PROG}
|
|||
|
||||
# Pull in the "real" Makefile.
|
||||
.include "${.CURDIR}/Makefile"
|
||||
.if exists(${.CURDIR}/../Makefile.inc)
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
.endif
|
||||
|
||||
# Set up the environment for <bsd.hostprog.mk>.
|
||||
HOSTPROGNAME?= ${HOSTPROG}
|
||||
|
|
Loading…
Reference in New Issue