Created
July 28, 2021 05:59
-
-
Save alan23273850/bf79690efbdd1007c52037676510b793 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODULENAME := hideproc | |
obj-m += $(MODULENAME).o | |
$(MODULENAME)-y += main.o | |
KERNELDIR ?= /lib/modules/`uname -r`/build | |
PWD := $(shell pwd) | |
all: | |
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules | |
clean: | |
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment