Merge commit 'origin/gallium-master-merge'
[mesa.git] / src / xvmc / tests / Makefile
1 CFLAGS += -g -Wall
2 LDFLAGS +=
3 LIBS += -lXvMCW -lXvMC -lXv
4
5 #############################################
6
7 .PHONY = all clean
8
9 all: test_context test_surface test_blocks test_rendering xvmc_bench
10
11 test_context: test_context.o testlib.o
12 $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
13
14 test_surface: test_surface.o testlib.o
15 $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
16
17 test_blocks: test_blocks.o testlib.o
18 $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
19
20 test_rendering: test_rendering.o testlib.o
21 $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
22
23 xvmc_bench: xvmc_bench.o testlib.o
24 $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
25
26 clean:
27 rm -rf *.o test_context test_surface test_blocks test_rendering xvmc_bench