1TOP = ../../../../.. 2include $(TOP)/configs/current 3 4LIBS = -lXvMCW -lXvMC -lXv -lX11 5 6############################################# 7 8.PHONY: default clean 9 10default: test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench 11 12test_context: test_context.o testlib.o 13 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 14 15test_surface: test_surface.o testlib.o 16 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 17 18test_subpicture: test_subpicture.o testlib.o 19 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 20 21test_blocks: test_blocks.o testlib.o 22 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 23 24test_rendering: test_rendering.o testlib.o 25 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 26 27xvmc_bench: xvmc_bench.o testlib.o 28 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 29 30clean: 31 $(RM) -rf *.o test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench 32