obj-m += khello.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 install: cp khello.ko /lib/modules/$(shell uname -r)/misc/; depmod -a distclean: clean rm -f modules.order