summaryrefslogtreecommitdiff
path: root/v4l2-apps/test/Makefile
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-07-01 14:41:32 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-07-01 14:41:32 +0200
commit03f118a31b76f1042007bccdbcd23168f3bc42e2 (patch)
tree7eb2bf647ffee882f0f2fc9f323d532724fea97d /v4l2-apps/test/Makefile
parent6729498c6f12e5365bf99ce8ef09371aa2c4335e (diff)
downloadmediapointer-dvb-s2-03f118a31b76f1042007bccdbcd23168f3bc42e2.tar.gz
mediapointer-dvb-s2-03f118a31b76f1042007bccdbcd23168f3bc42e2.tar.bz2
Fix makefiles, start with libv4l2.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/test/Makefile')
-rw-r--r--v4l2-apps/test/Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/v4l2-apps/test/Makefile b/v4l2-apps/test/Makefile
index 30c3edff6..b6a83b2b3 100644
--- a/v4l2-apps/test/Makefile
+++ b/v4l2-apps/test/Makefile
@@ -1,19 +1,20 @@
-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 =
+# Makefile for linuxtv.org v4l2-apps/test
-all: $(FILES) qv4l2
+CPPFLAGS += -I../../linux/include
-clean:
- -rm -f core core.[0123456789]* *~ *.o $(FILES)
- -if [ -f qv4l2/Makefile ]; then make -C qv4l2 $@; fi
- -rm -f qv4l2/qv4l2 qv4l2/Makefile
+binaries = ioctl-test \
+ sliced-vbi-test \
+ sliced-vbi-detect \
+ vbi-test \
+ v4lgrab
-qv4l2:
- if [ ! -f qv4l2/Makefile ]; then (cd qv4l2; qmake); fi
- make -C qv4l2
+.PHONY: all clean install
-.PHONY: qv4l2
+all: $(binaries)
+
+clean::
+ rm -f $(binaries)
+
+install:
+
+include ../Make.rules