ead: use the new pcap features and the raw socket optimization to eliminate most...
[openwrt.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)
This page took 0.041349 seconds and 5 git commands to generate.