summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-23 16:11:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-23 16:11:54 -0300
commit8587142fb31bbbc156e4e1ecd758e2c0fe5eb2bf (patch)
tree472c338929bdcb87f76a7824bf1602378ab34d03 /test/Makefile
parent27db32c1fbbd03a1427f7b783dcc7eee372c953e (diff)
parent47e7619ed0e11061799a387d580aa2aa90561ead (diff)
downloadmediapointer-dvb-s2-8587142fb31bbbc156e4e1ecd758e2c0fe5eb2bf.tar.gz
mediapointer-dvb-s2-8587142fb31bbbc156e4e1ecd758e2c0fe5eb2bf.tar.bz2
merge: http://linuxtv.org/hg/~hverkuil/mpeg-api
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index b8bb9b55c..30c3edff6 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,11 +1,19 @@
-FILES = ioctl-test sliced-vbi-test sliced-vbi-detect vbi-test v4lgrab
+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)
+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