summaryrefslogtreecommitdiff
path: root/v4l2-apps/util/Makefile
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-04-26 12:08:01 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-04-26 12:08:01 +0200
commitbd79a6befe5540b28bff79ee6216c484440c403f (patch)
tree5d941697c8cd52b82aaca9a96f65c171fd67a10c /v4l2-apps/util/Makefile
parent104fa6a317ada3e2434818b6900b4e13cf87ce5f (diff)
downloadmediapointer-dvb-s2-bd79a6befe5540b28bff79ee6216c484440c403f.tar.gz
mediapointer-dvb-s2-bd79a6befe5540b28bff79ee6216c484440c403f.tar.bz2
ivtv: add ivtv-ctl control utility.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/util/Makefile')
-rw-r--r--v4l2-apps/util/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/v4l2-apps/util/Makefile b/v4l2-apps/util/Makefile
index 34fc9a103..be1e4f83e 100644
--- a/v4l2-apps/util/Makefile
+++ b/v4l2-apps/util/Makefile
@@ -1,8 +1,13 @@
# Makefile for linuxtv.org v4l2-apps/util
-CPPFLAGS += -I../../linux/include
+CPPFLAGS += -I../../linux/include -D_GNU_SOURCE
+LDFLAGS += -lm
-binaries = v4l2-ctl v4l2-dbg
+binaries = v4l2-ctl v4l2-dbg ivtv-ctl
+
+ifeq ($(prefix),)
+prefix = /usr
+endif
.PHONY: all clean install qv4l2
@@ -22,6 +27,8 @@ v4l2-dbg: v4l2-dbg.o v4l2-driverids.o v4l2-chipids.o
$(CXX) $^ -o $@
install:
+ mkdir -p $(prefix)/bin
+ cp $(binaries) $(prefix)/bin
include ../Make.rules