summaryrefslogtreecommitdiff
path: root/package/swconfig/src/Makefile
blob: bb4a712dfde088a83562bd6fe5207f08590cbcf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ifndef CFLAGS
CFLAGS = -O2 -g -I ../src
endif
LIBS=-lnl-3 -lnl-genl-3

all: swconfig

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $^

swconfig: cli.o swlib.o
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)