summaryrefslogtreecommitdiffstats
path: root/src/xvmc/tests/Makefile
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-09-27 20:18:02 -0400
committerYounes Manton <[email protected]>2009-09-27 20:18:02 -0400
commite44c85637a3298918e292e9ddba812856cf92924 (patch)
tree25e881754374bebd8123fa51d889c070489a3320 /src/xvmc/tests/Makefile
parentf547472bfa0a797adacc2a7688b4c1ba65381a80 (diff)
g3dvl: Implement XvMC using pipe_video_context.
Diffstat (limited to 'src/xvmc/tests/Makefile')
-rw-r--r--src/xvmc/tests/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/xvmc/tests/Makefile b/src/xvmc/tests/Makefile
index de095161d29..11b2e1a812b 100644
--- a/src/xvmc/tests/Makefile
+++ b/src/xvmc/tests/Makefile
@@ -1,27 +1,28 @@
-CFLAGS += -g -Wall
-LDFLAGS +=
-LIBS += -lXvMCW -lXvMC -lXv
+TOP = ../../..
+include $(TOP)/configs/current
+
+LIBS = -lXvMCW -lXvMC -lXv -lX11
#############################################
-.PHONY = all clean
+.PHONY: default clean
-all: test_context test_surface test_blocks test_rendering xvmc_bench
+default: test_context test_surface test_blocks test_rendering xvmc_bench
test_context: test_context.o testlib.o
- $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
test_surface: test_surface.o testlib.o
- $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
test_blocks: test_blocks.o testlib.o
- $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
test_rendering: test_rendering.o testlib.o
- $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
xvmc_bench: xvmc_bench.o testlib.o
- $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
- rm -rf *.o test_context test_surface test_blocks test_rendering xvmc_bench
+ $(RM) -rf *.o test_context test_surface test_blocks test_rendering xvmc_bench