add makefile entry

This commit is contained in:
twoneis 2025-03-27 21:43:21 +01:00
parent e5f2bcb019
commit 95cc913f45

View file

@ -2,6 +2,9 @@ obj-m += lkm.o
all: module all: module
run: module leak.c
./leak
module: module:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules