summaryrefslogtreecommitdiff
path: root/src/xvmc/tests/Makefile
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-01-12 13:19:07 -0500
committerYounes Manton <younes.m@gmail.com>2009-01-18 21:40:10 -0500
commitc35dc4a741d4147a5da8bbe834a38a4c2ce627d1 (patch)
tree49880bd3e0cf8a05ce5164103dc9254d2b06f972 /src/xvmc/tests/Makefile
parent1fd411539b9b7b8ae46c1aff0a000d9b4a8f5f3b (diff)
g3dvl: Follow mesa naming conventions for src dirs.
Diffstat (limited to 'src/xvmc/tests/Makefile')
-rw-r--r--src/xvmc/tests/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/xvmc/tests/Makefile b/src/xvmc/tests/Makefile
new file mode 100644
index 0000000000..de095161d2
--- /dev/null
+++ b/src/xvmc/tests/Makefile
@@ -0,0 +1,27 @@
+CFLAGS += -g -Wall
+LDFLAGS +=
+LIBS += -lXvMCW -lXvMC -lXv
+
+#############################################
+
+.PHONY = all clean
+
+all: test_context test_surface test_blocks test_rendering xvmc_bench
+
+test_context: test_context.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_surface: test_surface.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_blocks: test_blocks.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_rendering: test_rendering.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+xvmc_bench: xvmc_bench.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+clean:
+ rm -rf *.o test_context test_surface test_blocks test_rendering xvmc_bench