nhmk/示例/7-驱动与用户交互/Makefile

13 lines
200 B
Makefile

obj-m += print_string.o
obj-m += kbleds.o
PWD := $(CURDIR)
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean