1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 08:49:52 +03:00
openwrt-xburst/package/swconfig/src/Makefile
nbd e9313440fc swconfig: add -lnl-genl (patch by Philip Prindeville) - purely cosmetic, swconfig uses libnl-tiny anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 02:52:44 +00:00

13 lines
186 B
Makefile

ifndef CFLAGS
CFLAGS = -O2 -g -I ../src
endif
LIBS=-lnl -lnl-genl
all: swconfig
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $^
swconfig: cli.o swlib.o uci.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)