add makefile entry
This commit is contained in:
parent
e5f2bcb019
commit
95cc913f45
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue