diff options
author | Chion Tang <sdspeedonion@gmail.com> | 2018-03-11 14:49:46 +0000 |
---|---|---|
committer | Chion Tang <sdspeedonion@gmail.com> | 2018-03-11 14:49:46 +0000 |
commit | f9af3a15154c9487d78144b39d37629b3cceff5e (patch) | |
tree | 35b5d48fd9e29165a33d643412e672ce3d3e83ed /Makefile | |
parent | Merge pull request #3 from Chion82/feature/port-allocation (diff) | |
download | netfilter-full-cone-nat-f9af3a15154c9487d78144b39d37629b3cceff5e.tar.gz netfilter-full-cone-nat-f9af3a15154c9487d78144b39d37629b3cceff5e.tar.bz2 netfilter-full-cone-nat-f9af3a15154c9487d78144b39d37629b3cceff5e.zip |
add Makefile and standalone building guide
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..923d738 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +obj-m = xt_FULLCONENAT.o +KVERSION = $(shell uname -r) +all: + make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules +clean: + make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean |