force gcc to look in ../../../include before /usr/local/include

This commit is contained in:
Ben Gras 2010-06-20 12:32:41 +00:00
parent 137495002d
commit cedc0404e1

View file

@ -15,13 +15,15 @@ MLINKS= grep.1 egrep.1 \
grep.1 zegrep.1 \
grep.1 zfgrep.1
CFLAGS+= -Wall
LDADD= -lz
DPADD= ${LIBZ}
.if ${COMPILER_TYPE} == "gnu"
CFLAGS+= -Wall
CPPFLAGS+= -isystem ../../../include
.endif
.if ${OPSYS} == "Minix"
CPPFLAGS+= -D_POSIX_SOURCE -D_MINIX
.include <minix.prog.mk>
.else
.include <bsd.prog.mk>