summaryrefslogtreecommitdiffstats
path: root/src/xvmc/tests/Makefile
blob: 11b2e1a812bd78d42abdaf73b6b4d15a543df350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
TOP = ../../..
include $(TOP)/configs/current

LIBS = -lXvMCW -lXvMC -lXv -lX11

#############################################

.PHONY: default clean

default: 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