swconfig: add -lnl-genl (patch by Philip Prindeville) - purely cosmetic, swconfig...
[openwrt/svn-archive/archive.git] / package / swconfig / src / Makefile
1 ifndef CFLAGS
2 CFLAGS = -O2 -g -I ../src
3 endif
4 LIBS=-lnl -lnl-genl
5
6 all: swconfig
7
8 %.o: %.c
9 $(CC) $(CFLAGS) -c -o $@ $^
10
11 swconfig: cli.o swlib.o uci.o
12 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)