Makefile 264 Bytes
Newer Older
jp7g21's avatar
jp7g21 committed
1
2
3
4
5
6
7
8
9
10
11
12
duck: duck.c ../libduck/libduck.so
	cc duck.c -o duck -L ../libduck -l duck

.PHONY: clean install

clean:
	rm -f duck

install: duck
	install -T -D -m 555 duck /usr/lib/duck/duck && \
	install -T udev-rule /etc/udev/rules.d/80-duck.rules && \
	udevadm control -R