From 2a41d231286f55150862792fe9b21932261e97ab Mon Sep 17 00:00:00 2001 From: Dmitry Yu Okunev Date: Thu, 9 Jan 2014 21:26:53 +0400 Subject: [PATCH 1/2] replaced "gcc" with "$(CC)" in Makefile.in --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9ed236e..b8a3a44 100644 --- a/Makefile.in +++ b/Makefile.in @@ -31,10 +31,10 @@ clean: mclean lclean -rm -f *.so *.o modules.order version.h %_sh.o: libipt_NETFLOW.c - gcc -O2 -Wall -Wunused $(IPTABLES_CFLAGS) -fPIC -o $@ -c libipt_NETFLOW.c + $(CC) -O2 -Wall -Wunused $(IPTABLES_CFLAGS) -fPIC -o $@ -c libipt_NETFLOW.c %.so: %_sh.o - gcc -shared -o $@ $< + $(CC) -shared -o $@ $< version.h: ipt_NETFLOW.c ipt_NETFLOW.h Makefile @if [ -d .git ] && type git >/dev/null 2>&1; then \ From 25f780934995dded3fbc7d02a1d94b01e924f833 Mon Sep 17 00:00:00 2001 From: Dmitry Yu Okunev Date: Thu, 9 Jan 2014 21:37:54 +0400 Subject: [PATCH 2/2] Added .gitignore file --- .gitignore | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fdcf61f --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +.ipt_NETFLOW.ko.cmd +.ipt_NETFLOW.mod.o.cmd +.ipt_NETFLOW.o.cmd +.tmp_versions/ +Makefile +Module.symvers +ipt_NETFLOW.ko +ipt_NETFLOW.mod.c +ipt_NETFLOW.mod.o +ipt_NETFLOW.o +libip6t_NETFLOW.so +libipt_NETFLOW.so +modules.order +version.h