obj-m := hunter_rgb_wmi.o
KDIR ?= /lib/modules/$(shell uname -r)/build

# Kbuild cannot handle spaces in the module path; build from a copy if needed.
all:
	$(MAKE) -C $(KDIR) M=$(CURDIR) modules

clean:
	$(MAKE) -C $(KDIR) M=$(CURDIR) clean
