usbmodeswitch: Updated to v.1.2.6 from shibby's branch.
[tomato.git] / release / src / router / wlconf / Makefile
blobe955d4dd850132398037867a70964e75c2058956
2 # Router Wireless Interface Configuration Utility Makefile
4 # Copyright 2007, Broadcom Corporation
5 # All Rights Reserved.
6 #
7 # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
8 # the contents of this file may not be disclosed to third parties, copied
9 # or duplicated in any form, in whole or in part, without the prior
10 # written permission of Broadcom Corporation.
12 # $Id$
14 include ../common.mak
16 CFLAGS += -I. -I$(TOP)/shared -I$(SRCBASE)/include -Wall
17 #CFLAGS += -g -DDEBUG
18 CFLAGS += -s -Os -DBCMWPA2 $(EXTRACFLAGS)
19 LDFLAGS += -L$(TOP)/nvram -lnvram -L$(TOP)/shared -lshared
22 OBJS := wlconf.o
23 vpath %.c $(SRCBASE)/wlconf
25 all: wlconf
27 clean:
28 rm -f *.o wlconf
30 install: all
31 install -d $(INSTALLDIR)/usr/sbin
32 install wlconf $(INSTALLDIR)/usr/sbin
33 $(STRIP) $(INSTALLDIR)/usr/sbin/wlconf
35 wlconf: $(OBJS)
36 $(CC) -o $@ $^ $(LDFLAGS)