force gcc to look in ../../../include before /usr/local/include
This commit is contained in:
parent
137495002d
commit
cedc0404e1
1 changed files with 5 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue