maybe like this for now

This commit is contained in:
twoneis 2025-03-27 22:14:57 +01:00
parent fb24304f5d
commit ef6c9afe1f

View file

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