Fixed makefile
authorSapan Bhatia <gwsapan@gmail.com>
Wed, 12 Dec 2012 21:42:57 +0000 (16:42 -0500)
committerSapan Bhatia <gwsapan@gmail.com>
Wed, 12 Dec 2012 21:42:57 +0000 (16:42 -0500)
Makefile

index 1e4339a..a328711 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 obj-m += procprotect.o
 
 all:
-       make -C /usr/src/kernels/3.6.2-1.fc16.x86_64 M=$(PWD) modules
+       make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
 
 clean:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean