Fixed makefile
[procprotect.git] / Makefile
index f703516..a328711 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 obj-m += procprotect.o
 
 all:
-       make -C /lib/modules/3.8.1-201.fc18.x86_64/build M=$(PWD) modules
+       make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
 
 clean:
-       make -C /lib/modules/3.8.1-201.fc18.x86_64/build M=$(PWD) clean
+       make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean