Created
July 7, 2012 15:13
-
-
Save kevinz/3066825 to your computer and use it in GitHub Desktop.
hello world netfilter module make file
This file contains 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
obj-m := hello.o | |
KDIR := /lib/modules/$(shell uname -r)/build | |
PWD := $(shell pwd) | |
default: | |
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment