summaryrefslogtreecommitdiff
path: root/Makefile-linux
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-linux')
-rw-r--r--Makefile-linux8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile-linux b/Makefile-linux
new file mode 100644
index 0000000..9de6304
--- /dev/null
+++ b/Makefile-linux
@@ -0,0 +1,8 @@
+obj-m := kworm.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
+