Add Makefile

This commit is contained in:
2019-03-05 16:22:08 +08:00
parent 27611f7969
commit f92737e3fa

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
obj-m+=kernel-list.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