projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d34c2
)
progs/glsl: add special Makefile rule for samplers_array
author
Brian Paul
<brianp@vmware.com>
Wed, 26 Aug 2009 17:55:15 +0000
(11:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 26 Aug 2009 17:55:15 +0000
(11:55 -0600)
progs/glsl/Makefile
patch
|
blob
|
history
diff --git
a/progs/glsl/Makefile
b/progs/glsl/Makefile
index
eedd866
..
6af7a66
100644
(file)
--- 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)