blob: eb549a0f6fbf3c5f6fd8dbcf68762563ad216434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
DESTDIR ?=
sbindir ?= /sbin
udevdir ?= /lib/udev/rules.d
CFLAGS ?= -O2
CFLAGS += -g -Wall
TARGETS := vdagent
build: $(TARGETS)
install: build
install -d $(DESTDIR)$(sbindir)
install -s $(TARGETS) $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(udevdir)
install -m 644 *.rules $(DESTDIR)$(udevdir)
clean:
rm -f $(TARGETS) *.o *~
vdagent: vdagent.o
|