Date: Sat, 4 Nov 2000 00:00:50 +1000 (EST) From: andrew@ugh.net.au To: freebsd-hackers@freebsd.org Subject: bsd.prog.mk and /usr/local/include Message-ID: <Pine.BSF.4.21.0011032351150.38602-100000@starbug.ugh.net.au>
next in thread | raw e-mail | index | archive | help
Hi,
What is the proper way to get the C compiler to look in ${PREFIX}/include
for header files and ${PREFIX}/lib for libraries when using bsd.prog.mk?
I can just use CFLAGS+= -I${PREFIX}/include -L${PREFIX}/lib but I suspect
there may be a better way. grepping for -I in bsd.prog.mk didn't show up
much however.
/usr/share/mk/bsd.README refers to bsd.prog.mk (and others) including
bsd.inc.mk. This doesn't seem to be the case anymore and in fact that file
seems to nolonger exist.
Thanks,
Andrew
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011032351150.38602-100000>
