summaryrefslogtreecommitdiff
path: root/Makefile-linux
diff options
context:
space:
mode:
authorreo <emmadoth@protonmail.com>2023-01-04 23:56:31 +0100
committerreo <emmadoth@protonmail.com>2023-01-04 23:56:31 +0100
commit04992be7b3e6b30a504852b4d525f2f2645b6690 (patch)
tree6b4e179ee204cfe39a4bce854db584e580c9e649 /Makefile-linux
parenta36bc986ad2a4d1ee6ae2f4531fbfafbf73fd47b (diff)
separate makefiles for WSL and linux
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
+