summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: 30c3edff6aba8ad1d967ecb500bc9fe04fdc7b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FILES   = ioctl-test sliced-vbi-test sliced-vbi-detect vbi-test v4lgrab v4l2-ctl
CC      = gcc
LIBS    =
CFLAGS  = -O3 -Wall -fomit-frame-pointer -funroll-loops -g -I ../linux/include
CXXFLAGS = $(CFLAGS)
LDFLAGS =

all: $(FILES) qv4l2

clean:
	-rm -f core core.[0123456789]* *~ *.o $(FILES)
	-if [ -f qv4l2/Makefile ]; then make -C qv4l2 $@; fi
	-rm -f qv4l2/qv4l2 qv4l2/Makefile

qv4l2:
	if [ ! -f qv4l2/Makefile ]; then (cd qv4l2; qmake); fi
	make -C qv4l2

.PHONY: qv4l2