mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-06 00:30:14 +02:00
e9313440fc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25509 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
186 B
Makefile
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)
|