mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 15:24:36 +02:00
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)
|