blob: 5a576d3c362ac75983c8fd256f1a16af026cd51d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
DESTDIR ?=
sbindir ?= /sbin
udevdir ?= /lib/udev/rules.d
CFLAGS ?= -O2
CFLAGS += -g -Wall
CFLAGS += -g -Wall
CFLAGS += $(shell pkg-config --cflags spice-protocol)
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
|