diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-04-16 13:30:56 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-04-16 13:30:56 +0000 |
commit | c86e48dc7d688d97a6ee4697ce01e594fa70d7db (patch) | |
tree | b2e30ee2f32ca7f6e8f0cf602c499d97774ca8a3 /Makefile | |
download | conntrack-tools-c86e48dc7d688d97a6ee4697ce01e594fa70d7db.tar.gz conntrack-tools-c86e48dc7d688d97a6ee4697ce01e594fa70d7db.zip |
add pablo's conntrack tool
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..03edebc --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +LINKOPTS=-ldl -lnfnetlink -lctnetlink -rdynamic +KERNELDIR=/lib/modules/$(shell uname -r)/build/include/ +CFLAGS=-I${KERNELDIR} -Iinclude/ -g + +default: + ${CC} -c ${CFLAGS} src/conntrack.c -o src/conntrack.o + ${CC} -c ${CFLAGS} src/libct.c -o src/libct.o + ${CC} ${LINKOPTS} src/conntrack.o src/libct.o -o conntrack + ${MAKE} -C extensions/ + +clean: + rm -rf src/*.o conntrack + ${MAKE} clean -C extensions/ + |