mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 18:49:43 +02:00
a662d5b130
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13009 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
170 B
Makefile
13 lines
170 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
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|