Add icmptx IP over ICMP tunneling program
[openwrt/svn-archive/archive.git] / net / icmptx / patches / 01-cross_compile.patch
1 diff -urN icmptx-0.01/Makefile icmptx-0.01.new/Makefile
2 --- icmptx-0.01/Makefile 2005-12-20 09:09:34.000000000 +0100
3 +++ icmptx-0.01.new/Makefile 2007-01-21 16:48:36.000000000 +0100
4 @@ -3,16 +3,16 @@
5 all: icmptx
6
7 icmptx: it.o icmptx.o tun_dev.o
8 - gcc $(flags) -o icmptx icmptx.o it.o tun_dev.o
9 + $(CC) -o icmptx icmptx.o it.o tun_dev.o
10
11 it.o: it.c
12 - gcc $(flags) -c it.c
13 + $(CC) -c it.c
14
15 icmptx.o: icmptx.c
16 - gcc $(flags) -c icmptx.c
17 + $(CC) -c icmptx.c
18
19 tun_dev.o: tun_dev.c
20 - gcc $(flags) -c tun_dev.c
21 + $(CC) -c tun_dev.c
22
23 clean:
24 rm -f tun_dev.o it.o icmptx.o icmptx