maybe like this for now
This commit is contained in:
parent
fb24304f5d
commit
ef6c9afe1f
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
obj-m += lkm.o
|
obj-m += lkm.o
|
||||||
|
|
||||||
all: module leak
|
all: module leak.c
|
||||||
|
|
||||||
run: leak
|
run: leak
|
||||||
./leak
|
./leak
|
||||||
|
@ -8,8 +8,8 @@ run: 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
|
||||||
|
|
||||||
%:
|
leak:
|
||||||
gcc $@.c -o $@.o
|
gcc leak.c -o leak.o
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
|
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue