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