1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Makefile # SRC := $(shell pwd) obj-m += hdm_usb.o CFLAGS_hdm_usb.o := -I$(src)/../include/ all: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules modules_install: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install clean: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean