summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorChris Li <[email protected]>2010-02-05 01:29:43 -0800
committerJosé Fonseca <[email protected]>2010-02-05 15:34:28 +0000
commit476b668ccc3f234676dbd3f15207eafe7965222e (patch)
tree221b2d5e2499f1ff1d744d8a856ebe43da3e4657 /src/gallium/drivers/llvmpipe
parentad60552ca19bce657eadaffd31db752e34e9cda3 (diff)
allow make to build lp_test_* for llvmpipe
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile
index 899af6acf84..698078bc376 100644
--- a/src/gallium/drivers/llvmpipe/Makefile
+++ b/src/gallium/drivers/llvmpipe/Makefile
@@ -74,3 +74,16 @@ lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxil
# to make a .s file to inspect assembly code
.c.s:
$(CC) -S $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $<
+
+
+testprogs := lp_test_format \
+ lp_test_blend \
+ lp_test_conv
+
+LIBS += $(GL_LIB_DEPS) -L. -lllvmpipe -L../../auxiliary/ -lgallium
+
+$(testprogs): lp_test_% : lp_test_%.o lp_test_main.o
+ $(LD) $^ -o $@ -Wl,--start-group $(LIBS) -Wl,--end-group
+
+
+default: $(testprogs)