diff --git a/Makefile b/Makefile index d6dc158..ea65343 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ obj-m := ./src/tuxedo_keyboard.o tuxedo_tuxedo-objs := ./src/tuxedo_keyboard.o PWD := $(shell pwd) +KDIR := /lib/modules/$(shell uname -r)/build all: make -C $(KDIR) M=$(PWD) modules