add wireless measurement probe infrastructure, developed at Fraunhofer FOKUS
[openwrt/svn-archive/archive.git] / package / wprobe / src / user / Makefile
1 CFLAGS = -O2
2 CPPFLAGS ?= -I../kernel
3 WFLAGS = -Wall -Werror
4 LDFLAGS =
5
6 LIBNL = -lnl
7 LIBM = -lm
8 LIBS = $(LIBNL) $(LIBM)
9
10 all: libwprobe.a wprobe-info
11
12 libwprobe.a: wprobe.o
13 rm -f $@
14 $(AR) rcu $@ $^
15 $(RANLIB) $@
16
17 %.o: %.c
18 $(CC) $(WFLAGS) -c -o $@ $(CPPFLAGS) $(CFLAGS) $<
19
20 wprobe-info: wprobe-info.o wprobe.o
21 $(CC) -o $@ $^ $(LDFLAGS) $(LIBS)