microsoft-ergonomic-keyboard/Makefile

15 lines
301 B
Makefile
Raw Normal View History

2021-09-13 08:03:58 +00:00
KERNELRELEASE ?= $(shell uname -r)
KERNEL_DIR ?= /lib/modules/$(KERNELRELEASE)/build
PWD := $(shell pwd)
obj-m := hid-microsoft-ergonomic.o
all:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
install:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules_install
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean