summaryrefslogtreecommitdiff
path: root/v4l2-apps/test/Makefile
blob: 48b9643f8cb0fc43db87d56dca25275c7cb7ef7a (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
# Makefile for linuxtv.org v4l2-apps/test

CPPFLAGS += -I../../linux/include

binaries = ioctl-test 		\
	   sliced-vbi-test 	\
	   sliced-vbi-detect 	\
	   vbi-test 		\
	   v4lgrab		\
	   driver-test		\
	   capture_example

.PHONY: all clean install

all: $(binaries)

clean::
	rm -f $(binaries)

install:

../lib/libv4l2.a: ../lib/v4l2_driver.c ../lib/frequencies.c
	make -C ../lib libv4l2.a

driver-test: driver-test.o ../lib/libv4l2.a

include ../Make.rules