progs/perf: Include local headers before installed headers.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Sep 2009 15:03:26 +0000 (09:03 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 15:03:26 +0000 (09:03 -0600)
Fixes compilation errors on platforms with older installed GL headers.

progs/perf/Makefile

index 066eb8608ec37cd13059be676fcc9d70a4e0c9fd..f7b965542e2987f45214c95ea58df3f31573c947 100644 (file)
@@ -10,7 +10,7 @@ LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) \
 
 # using : to avoid APP_CC pointing to CC loop
 CC := $(APP_CC)
-CFLAGS += -I$(INCDIR)
+CFLAGS := -I$(INCDIR) $(CFLAGS)
 LDLIBS = $(LIBS)
 
 PROG_SOURCES = \