10 lines
252 B
Makefile
10 lines
252 B
Makefile
.PHONY: all clean archive
|
|
|
|
obj-m += hanvon.o
|
|
|
|
all:
|
|
gcc hanvon-libusb.c -I/usr/include/libevdev-1.0/ -L/usr/local/lib -lusb-1.0 -ludev -levdev -g -o hvlusb
|
|
|
|
archive:
|
|
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz
|