diff options
author | Phil Sutter <phil@nwl.cc> | 2014-06-17 03:07:38 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-18 09:10:34 +0200 |
commit | cc0aa555d91ffa1e878e0a85badccdcad6173c7b (patch) | |
tree | 59038a178a89fddd0da1f068e14701d4f1720124 /package/swconfig/src/Makefile | |
parent | 918955c7a7c17b4af57c6e5949bd2ba8801be2ab (diff) |
integrate OpenWrt swconfig utility
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/swconfig/src/Makefile')
-rw-r--r-- | package/swconfig/src/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/swconfig/src/Makefile b/package/swconfig/src/Makefile new file mode 100644 index 000000000..bb4a712df --- /dev/null +++ b/package/swconfig/src/Makefile @@ -0,0 +1,12 @@ +ifndef CFLAGS +CFLAGS = -O2 -g -I ../src +endif +LIBS=-lnl-3 -lnl-genl-3 + +all: swconfig + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $^ + +swconfig: cli.o swlib.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) |