~ubuntu-branches/ubuntu/precise/v4l-utils/precise

« back to all changes in this revision

Viewing changes to utils/v4l2-ctl/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Gregor Jasny
  • Date: 2010-02-28 19:44:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100228194415-067hdj8rvawj91zw
Tags: upstream-0.7.90
ImportĀ upstreamĀ versionĀ 0.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
override CPPFLAGS += -DV4L_UTILS_VERSION=\"$(V4L_UTILS_VERSION)\"
 
2
 
 
3
TARGETS = cx18-ctl ivtv-ctl v4l2-ctl
 
4
 
 
5
all: $(TARGETS)
 
6
 
 
7
-include *.d
 
8
 
 
9
cx18-ctl: cx18-ctl.o
 
10
        $(CC) $(LDFLAGS) -o $@ $^
 
11
 
 
12
ivtv-ctl: ivtv-ctl.o
 
13
        $(CC) $(LDFLAGS) -o $@ $^ -lm
 
14
 
 
15
v4l2-ctl: v4l2-ctl.o
 
16
        $(CXX) $(LDFLAGS) -o $@ $^
 
17
 
 
18
install: $(TARGETS)
 
19
        mkdir -p $(DESTDIR)$(PREFIX)/bin
 
20
        install -m 755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin
 
21
 
 
22
include ../../Make.rules