summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e9ba1fd835e969a7ad418dc9349530858086a7b2 (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 -d 644 *.rules $(DESTDIR)$(udevdir)

clean:
	rm -f $(TARGET) *.o *~

vdagent: vdagent.o