From ea3d1443b84300055c33ccf8e9f2a4effb5c1928 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 22 Apr 2010 10:12:34 +0000 Subject: [PATCH] The sources tree has precedence over installed files when including headers --- src/Makefile | 2 +- src/project.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 264b643..76cb21c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,7 @@ PREFIX = /usr/local DESTDIR = BINDIR = $(PREFIX)/bin CC = cc -CPPFLAGSF= -I $(PREFIX)/include -I ../include +CPPFLAGSF= -I ../include -I $(PREFIX)/include CPPFLAGS= CFLAGSF = -W `pkg-config gtk+-2.0 --cflags` CFLAGS = -Wall -g -O2 -pedantic diff --git a/src/project.conf b/src/project.conf index 9a96dba..768b738 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,6 +1,6 @@ subdirs=applets targets=panel,run -cppflags_force=-I $(PREFIX)/include -I ../include +cppflags_force=-I ../include -I $(PREFIX)/include #cppflags=-D EMBEDDED cflags_force=-W `pkg-config gtk+-2.0 --cflags` cflags=-Wall -g -O2 -pedantic