2011-06-15 02:14:09 +05:30
|
|
|
.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
|
|
|
|
|
2011-06-15 02:14:09 +05:30
|
|
|
archive:
|
|
|
|
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz
|