From bd79a6befe5540b28bff79ee6216c484440c403f Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sat, 26 Apr 2008 12:08:01 +0200 Subject: ivtv: add ivtv-ctl control utility. From: Hans Verkuil Signed-off-by: Hans Verkuil --- v4l2-apps/util/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'v4l2-apps/util/Makefile') 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 -- cgit v1.2.3