summaryrefslogtreecommitdiff
path: root/share/mk/bsd.sys.mk
blob: 62647237d2bb65817d67e8ca23ece535fb48b376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#	$OpenBSD: bsd.sys.mk,v 1.13 2017/07/09 14:04:50 espie Exp $
#	$NetBSD: bsd.sys.mk,v 1.2 1995/12/13 01:25:07 cgd Exp $
#
# Overrides used for OpenBSD source tree builds.

#CFLAGS+= -Werror

.if defined(DESTDIR)
CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include
CXXFLAGS+= -idirafter ${DESTDIR}/usr/include/g++
.endif

.y.c:
	${YACC.y} -o ${.TARGET} ${.IMPSRC}