progs/glsl: Include local headers before installed headers during compilation.
authorVinson Lee <vlee@vmware.com>
Mon, 21 Sep 2009 14:44:53 +0000 (08:44 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Sep 2009 14:44:56 +0000 (08:44 -0600)
Fixes compilation errors on platforms with insufficient older installed
GL headers.

progs/glsl/Makefile

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