nhmk/示例/Makefile

12 lines
184 B
Makefile
Raw Normal View History

2024-09-03 14:48:19 +08:00
obj-m += example_taskle.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