hanvon-linux/Makefile

13 lines
278 B
Makefile
Raw Normal View History

.PHONY: all clean archive
2011-03-09 20:03:46 +01:00
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