revert bad firewall patch
[openwrt.git] / openwrt / package / wiviz / src / Makefile
1 ## Wi-viz makefile
2 # Supply your own C cross-compiler; I recommend the one from the OpenWRT buildroot
3 # Also requires a libpcap to link with, use libpcap.a for static, .so for shared
4 CC=~/buildroot/staging_dir_mipsel/bin/mipsel-linux-gcc
5 LDFLAGS=-L~/buildroot/staging_dir_mipsel/lib
6 LIBS=-lpcap
7
8 CCOPTS=-O2 -Os -pipe -mips32 -mtune=mips32
9 INCLUDE=-I~/buildroot/staging_dir_mipsel/include
10 SOURCES=wiviz.c wl_access.c channelhopper.c
11 OBJS=wiviz.o wl_access.o channelhopper.o
12 TARGET=wiviz
13
14 wiviz: ${OBJS}
15 ${CC} ${CCOPTS} ${INCLUDE} -o ${TARGET} ${OBJS} ${LDFLAGS} ${LIBS}
16
17 wiviz.o: wiviz.c
18 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
19 wl_access.o: wl_access.c
20 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
21 channelhopper.o: channelhopper.c
22 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
23
24 remake:
25 touch wiviz.c wl_access.c channelhopper.c
This page took 0.042959 seconds and 5 git commands to generate.