Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .PHONY: all
- obj-m := rootkit.o
- KERNEL_DIR = /lib/modules/$(shell uname -r)/build
- PWD = $(shell pwd)
- all: rootkit client
- rootkit:
- $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD)
- client:
- gcc -o client client.c --std=gnu99 -Wall -Wextra -pedantic
- clean:
- rm -rf *.o *.ko *.symvers *.mod.* *.order
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement