kernel-module/Makefile

8 lines
143 B
Makefile
Raw Normal View History

obj-m += hello.o
2024-04-20 21:51:25 +00:00
hello-objs := hello-1.o hello-2.o
KDIR := /usr/src/linux-headers-$(shell uname -r)
%:
$(MAKE) -Wall -C $(KDIR) M=$(PWD) $@