aboutsummaryrefslogtreecommitdiff
path: root/khm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'khm/Makefile')
-rw-r--r--khm/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/khm/Makefile b/khm/Makefile
new file mode 100644
index 0000000..74ffd5f
--- /dev/null
+++ b/khm/Makefile
@@ -0,0 +1,8 @@
+obj-m += test.o
+test-objs := khm.o test_khm.o
+
+all:
+ make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
+
+clean:
+ make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean