mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 08:05:20 +02:00
17a8f7b655
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15315 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
176 B
Makefile
13 lines
176 B
Makefile
ifndef CFLAGS
|
|
CFLAGS = -O2 -g -I ../src
|
|
endif
|
|
LIBS=-lnl
|
|
|
|
all: swconfig
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
swconfig: cli.o swlib.o uci.o
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|