X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a662d5b130a558956875dbe259c551b632abb0f4..10153f8adafd90f736781b34d6ea896822bdcf56:/package/swconfig/src/Makefile?ds=inline 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)