File: Makefile

package info (click to toggle)
usbrelay 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 460 kB
  • ctags: 15
  • sloc: ansic: 144; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -O2 -Wall
HIDAPI = hidraw
LDLIBS = -lhidapi-$(HIDAPI)

all: usbrelay

clean:
	rm -f usbrelay

install: usbrelay
	install -d $(DESTDIR)/usr/bin
	install -m 0755 usbrelay $(DESTDIR)/usr/bin

.PHONY: all clean install