openwrtv4/package/swconfig/src/Makefile
Felix Fietkau 2fe29deb90 swconfig: implement uci loading support
SVN-Revision: 15315
2009-04-21 01:35:30 +00:00

12 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)