hanvon-linux/Makefile

10 lines
197 B
Makefile

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