# based on the Makefile example within the Linux Kernel Module # Programming Guide, by Peter Jay Salzman, Michael Burian, and # Ori Pomerantz. The Linux Kernel Module Programming Guide is # currently available on the Web, at: # # http://tldp.org/LDP/lkmpg/2.6/html/index.html obj-m += gribble_module.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