hanvon-linux/Makefile

11 lines
199 B
Makefile

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