From a662d5b130a558956875dbe259c551b632abb0f4 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 18 Oct 2008 20:44:53 +0000 Subject: add new switch configuration api git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13009 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/swconfig/src/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/swconfig/src/Makefile (limited to 'package/swconfig/src/Makefile') diff --git a/package/swconfig/src/Makefile b/package/swconfig/src/Makefile new file mode 100644 index 000000000..64816af54 --- /dev/null +++ b/package/swconfig/src/Makefile @@ -0,0 +1,12 @@ +ifndef CFLAGS +CFLAGS = -O2 -g -I ../src +endif +LIBS=-lnl + +all: swconfig + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $^ + +swconfig: cli.o swlib.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) -- cgit v1.2.3