Headers from the source tree have precedence over the ones from the system

This commit is contained in:
Pierre Pronchery 2010-04-22 16:09:35 +00:00
parent fa5c27967f
commit 00fbf328e6
4 changed files with 8 additions and 8 deletions

View File

@ -4,8 +4,8 @@ PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
CC = cc CC = cc
CPPFLAGSF= -I $(PREFIX)/include CPPFLAGSF= -I ../include -I $(PREFIX)/include
CPPFLAGS= -I ../include CPPFLAGS=
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 -pedantic CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp

View File

@ -1,7 +1,7 @@
subdirs=sets,target subdirs=sets,target
targets=c99 targets=c99
cppflags_force=-I $(PREFIX)/include cppflags_force=-I ../include -I $(PREFIX)/include
cppflags=-I ../include cppflags=
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic
ldflags_force=-L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp ldflags_force=-L $(PREFIX)/lib -Wl,-rpath $(PREFIX)/lib -l cpp

View File

@ -3,8 +3,8 @@ PREFIX = /usr/local
DESTDIR = DESTDIR =
LIBDIR = $(PREFIX)/lib LIBDIR = $(PREFIX)/lib
CC = cc CC = cc
CPPFLAGSF= -I $(PREFIX)/include CPPFLAGSF= -I ../../include -I $(PREFIX)/include
CPPFLAGS= -I ../../include CPPFLAGS=
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 -fPIC -pedantic CFLAGS = -Wall -g -O2 -fPIC -pedantic
AR = ar -rc AR = ar -rc

View File

@ -1,6 +1,6 @@
targets=as,graph,indent targets=as,graph,indent
cppflags_force=-I $(PREFIX)/include cppflags_force=-I ../../include -I $(PREFIX)/include
cppflags=-I ../../include cppflags=
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 -fPIC -pedantic cflags=-Wall -g -O2 -fPIC -pedantic
dist=Makefile dist=Makefile