You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kernel_rop/Makefile

16 lines
292 B

obj-m += drv.o
CC=gcc
ccflags-y += "-g"
ccflags-y += "-O0"
ccflags-y += "-ggdb"
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
# compile the trigger
$(CC) trigger.c -O2 -o trigger
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
rm -fr ./trigger