summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-09-21 08:44:53 -0600
committerBrian Paul <brianp@vmware.com>2009-09-21 08:44:56 -0600
commitd17af7d1e19e637e29db47bd8f6e3e579760c530 (patch)
treee137be51f654575bb8294121a901afd7b59733e7 /progs/glsl
parent2d729e6e3bcb0af84790cafb9824a3937954e078 (diff)
progs/glsl: Include local headers before installed headers during compilation.
Fixes compilation errors on platforms with insufficient older installed GL headers.
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index a8e4cf3e66..8928c833c0 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -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 = \