File: Makefile

package info (click to toggle)
v4l-utils 0.8.8-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,492 kB
  • sloc: ansic: 33,068; cpp: 10,882; perl: 4,294; makefile: 470; php: 119; sh: 24
file content (22 lines) | stat: -rw-r--r-- 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
override CPPFLAGS += -DV4L_UTILS_VERSION=\"$(V4L_UTILS_VERSION)\"

TARGETS = cx18-ctl ivtv-ctl v4l2-ctl

all: $(TARGETS)

-include *.d

cx18-ctl: cx18-ctl.o
	$(CC) $(LDFLAGS) -o $@ $^

ivtv-ctl: ivtv-ctl.o
	$(CC) $(LDFLAGS) -o $@ $^ -lm

v4l2-ctl: v4l2-ctl.o
	$(CXX) $(LDFLAGS) -o $@ $^ -lv4l2 -lv4lconvert -lrt

install: $(TARGETS)
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	install -m 755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin

include ../../Make.rules