404fbd8c66
SVN-Revision: 25509
12 lines
186 B
Makefile
12 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)
|