aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Chion Tang <sdspeedonion@gmail.com> 2018-03-11 14:49:46 +0000
committerGravatar Chion Tang <sdspeedonion@gmail.com> 2018-03-11 14:49:46 +0000
commitf9af3a15154c9487d78144b39d37629b3cceff5e (patch)
tree35b5d48fd9e29165a33d643412e672ce3d3e83ed /Makefile
parentMerge pull request #3 from Chion82/feature/port-allocation (diff)
downloadnetfilter-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--Makefile6
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