hanvon-linux/Makefile

13 lines
278 B
Makefile
Raw Normal View History

.PHONY: all clean archive
2011-03-10 00:33:46 +05:30
obj-m += hanvon.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
archive:
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz