X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/a662d5b130a558956875dbe259c551b632abb0f4..0c3fc1dfb164c04c56b2c14df363021078b87a3f:/package/swconfig/src/Makefile diff --git a/package/swconfig/src/Makefile b/package/swconfig/src/Makefile index 64816af54..0d56f4315 100644 --- a/package/swconfig/src/Makefile +++ b/package/swconfig/src/Makefile @@ -1,12 +1,12 @@ ifndef CFLAGS CFLAGS = -O2 -g -I ../src endif -LIBS=-lnl +LIBS=-lnl -lnl-genl all: swconfig %.o: %.c $(CC) $(CFLAGS) -c -o $@ $^ -swconfig: cli.o swlib.o +swconfig: cli.o swlib.o uci.o $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)