2008-10-18 20:44:53 +00:00
|
|
|
ifndef CFLAGS
|
|
|
|
CFLAGS = -O2 -g -I ../src
|
|
|
|
endif
|
|
|
|
LIBS=-lnl
|
|
|
|
|
|
|
|
all: swconfig
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
2009-04-21 01:35:30 +00:00
|
|
|
swconfig: cli.o swlib.o uci.o
|
2008-10-18 20:44:53 +00:00
|
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|