force gcc to look in ../../../include before /usr/local/include
This commit is contained in:
parent
137495002d
commit
cedc0404e1
|
@ -15,13 +15,15 @@ MLINKS= grep.1 egrep.1 \
|
||||||
grep.1 zegrep.1 \
|
grep.1 zegrep.1 \
|
||||||
grep.1 zfgrep.1
|
grep.1 zfgrep.1
|
||||||
|
|
||||||
CFLAGS+= -Wall
|
|
||||||
|
|
||||||
LDADD= -lz
|
LDADD= -lz
|
||||||
DPADD= ${LIBZ}
|
DPADD= ${LIBZ}
|
||||||
|
|
||||||
|
.if ${COMPILER_TYPE} == "gnu"
|
||||||
|
CFLAGS+= -Wall
|
||||||
|
CPPFLAGS+= -isystem ../../../include
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${OPSYS} == "Minix"
|
.if ${OPSYS} == "Minix"
|
||||||
CPPFLAGS+= -D_POSIX_SOURCE -D_MINIX
|
|
||||||
.include <minix.prog.mk>
|
.include <minix.prog.mk>
|
||||||
.else
|
.else
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
Loading…
Reference in a new issue