changeset 17014:c304e5836276

Unify include path handling by adding $(MPROOT) to CFLAGS.
author diego
date Fri, 18 Nov 2005 14:57:15 +0000
parents 3bfc7cbf4060
children 91d141ec88bb
files TOOLS/subfont-c/Makefile TOOLS/subfont-c/subfont.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/subfont-c/Makefile	Fri Nov 18 14:55:37 2005 +0000
+++ b/TOOLS/subfont-c/Makefile	Fri Nov 18 14:57:15 2005 +0000
@@ -4,7 +4,7 @@
 include $(MPROOT)/config.mak
 
 LDLIBS=-lm $(MPROOT)/osdep/timer-lx.o $(shell freetype-config --libs)
-CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
+CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags) -I$(MPROOT)
 
 #CFLAGS+=-O0			# for RedHat's gcc-2.96-95
 #CFLAGS+=-DOLD_FREETYPE2	# for FreeType 2.0.1
--- a/TOOLS/subfont-c/subfont.c	Fri Nov 18 14:55:37 2005 +0000
+++ b/TOOLS/subfont-c/subfont.c	Fri Nov 18 14:57:15 2005 +0000
@@ -26,8 +26,8 @@
 #endif
 
 
-#include "../../bswap.h"
-#include "../../osdep/timer.h"
+#include "bswap.h"
+#include "osdep/timer.h"
 
 #ifndef DEBUG
 #define DEBUG	0