12 lines
196 B
Makefile
12 lines
196 B
Makefile
KERNEL := /lib/modules/$(shell uname -r)/build
|
|
TARGET := module
|
|
|
|
obj-m += $(TARGET).o
|
|
$(TARGET)-objs = module.o
|
|
|
|
all:
|
|
make -C $(KERNEL) M=$(PWD) modules
|
|
|
|
clean:
|
|
make -C $(KERNEL) M=$(PWD) clean
|