04723c3ffc
- factor out commonly used code. - constify - use warn/warnx instead of printf
14 lines
355 B
Makefile
14 lines
355 B
Makefile
# $NetBSD: Makefile.inc,v 1.6 2005/11/28 03:26:06 christos Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
WARNS=4
|
|
LIBCOMMON != cd ${.CURDIR}/../common_source && ${PRINTOBJDIR}
|
|
CPPFLAGS+=-I${.CURDIR}/../common_source
|
|
DPADD+= ${LIBCOMMON}/libcommon.a
|
|
LDADD+= -L${LIBCOMMON} -lcommon
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|