From 4be73e0e214b4f0d3860e1fa61b2b1fb6f6954c1 Mon Sep 17 00:00:00 2001
From: Sapan Bhatia <gwsapan@gmail.com>
Date: Mon, 8 Apr 2013 21:47:58 -0400
Subject: [PATCH] Fixed makefile

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f703516..a328711 100644
--- 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
-- 
2.47.0