hanvon-linux/Makefile
2020-10-02 21:37:41 -07:00

10 lines
242 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
archive:
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz