Patch from Thomas Dreibholtz for compatibility with kernel 3.10
[procprotect.git] / Makefile
index 8dfd78e..04471df 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 obj-m += procprotect.o
 
-all:
-       make -C /lib/modules/3.4.9-2.fc16.x86_64/build M=$(PWD) modules
+all: 
+       make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
 
 clean:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean