Move CPPFLAGS addition for lint1/arch to Makefile.inc so each subdir will
pick them up
This commit is contained in:
parent
d5b107a692
commit
d63596f307
|
@ -1,4 +1,6 @@
|
|||
# $NetBSD: Makefile.inc,v 1.3 1998/02/22 15:40:39 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2001/10/22 05:19:31 jmc Exp $
|
||||
|
||||
CPPFLAGS+=-I${.CURDIR}/../lint1/arch/${MACHINE_CPU}
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2001/10/21 21:39:49 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2001/10/22 05:19:31 jmc Exp $
|
||||
|
||||
PROG= lint1
|
||||
SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \
|
||||
|
@ -7,7 +7,7 @@ MAN= lint.7
|
|||
LDADD+= -ll
|
||||
DPADD+= ${LIBL}
|
||||
YHEADER=1
|
||||
CPPFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPU} -I${.CURDIR} -I.
|
||||
CPPFLAGS+=-I${.CURDIR} -I.
|
||||
LINTFLAGS=-aehpz
|
||||
WFORMAT=1 #hopeless
|
||||
BINDIR= /usr/libexec
|
||||
|
|
Loading…
Reference in New Issue