source: freewrt/package/wiviz/src/Makefile@ 2a5a554

freewrt_1_0 freewrt_2_0
Last change on this file since 2a5a554 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 824 bytes
Line 
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
4CC=~/buildroot/staging_dir_mipsel/bin/mipsel-linux-gcc
5LDFLAGS=-L~/buildroot/staging_dir_mipsel/lib
6LIBS=-lpcap
7
8CCOPTS=-O2 -Os -pipe -mips32 -mtune=mips32
9INCLUDE=-I~/buildroot/staging_dir_mipsel/include
10SOURCES=wiviz.c wl_access.c channelhopper.c
11OBJS=wiviz.o wl_access.o channelhopper.o
12TARGET=wiviz
13
14wiviz: ${OBJS}
15 ${CC} ${CCOPTS} ${INCLUDE} -o ${TARGET} ${OBJS} ${LDFLAGS} ${LIBS}
16
17wiviz.o: wiviz.c
18 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
19wl_access.o: wl_access.c
20 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
21channelhopper.o: channelhopper.c
22 ${CC} ${CCOPTS} ${INCLUDE} -c ${SOURCES}
23
24remake:
25 touch wiviz.c wl_access.c channelhopper.c
Note: See TracBrowser for help on using the repository browser.