aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..ee91069
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,15 @@
+
+KVERSION = $(shell uname -r)
+KDIR := /lib/modules/$(KVERSION)/build
+PWD := $(shell pwd)
+
+obj-m = hid-lg-g710-plus.o
+
+default: build
+
+build:
+ make -C $(KDIR) M=$(PWD) modules
+clean:
+ make -C $(KDIR) M=$(PWD) clean
+install:
+ make -C $(KDIR) M=$(PWD) modules_install \ No newline at end of file