aboutsummaryrefslogtreecommitdiffstats
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-26 11:55:15 -0600
committerBrian Paul <[email protected]>2009-08-26 11:55:15 -0600
commit488b3c4d1bc3d830477180759a42dbaf8f5801b0 (patch)
tree859bb08e3e929289b3f417101469c05928e825e8 /progs/glsl/Makefile
parentf6d34c20585ae9b4fb07ec2f2850f04dc9a9bc29 (diff)
progs/glsl: add special Makefile rule for samplers_array
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index eedd866c957..6af7a665cf1 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -32,6 +32,7 @@ DEMO_SOURCES = \
pointcoord.c \
points.c \
samplers.c \
+ samplers_array.c \
shadow_sampler.c \
skinning.c \
texaaline.c \
@@ -188,7 +189,8 @@ samplers.o: $(UTIL_HEADERS)
samplers: samplers.o $(UTIL_OBJS)
-samplers_array.o: $(UTIL_HEADERS)
+samplers_array.o: samplers.c $(UTIL_HEADERS)
+ $(APP_CC) $(CFLAGS) -DSAMPLERS_ARRAY $< -c -o $@
samplers_array: samplers_array.o $(UTIL_OBJS)