1

make: *** No targets. Stop while building linux kernel module

view story
linux-howto

http://unix.stackexchange.com – I am just trying to learn how to driver modules for Linux Kernel. I followed Linux Device drivers 3rd edition book and started my work. I created a sample program and makefile. Please find my makefile contents below. obj-m += testModule.o make -C /lib/modules/3.2.36/build M=$(PWD) modules I saved this makefile in my home directory. Whenever I am trying to execute this file using make command I am getting make: *** No targets. Stop error. Can someone please help me? Thanks in advance. (HowTos)