.PHONY: all clean archive obj-m += hanvon.o all: gcc hanvon-libusb.c ./hidapi/linux/hid.o -L/usr/local/lib -lusb-1.0 -ludev -g archive: tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz