mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
add wireless measurement probe infrastructure, developed at Fraunhofer FOKUS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15050 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
21
package/wprobe/src/user/Makefile
Normal file
21
package/wprobe/src/user/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
CFLAGS = -O2
|
||||
CPPFLAGS ?= -I../kernel
|
||||
WFLAGS = -Wall -Werror
|
||||
LDFLAGS =
|
||||
|
||||
LIBNL = -lnl
|
||||
LIBM = -lm
|
||||
LIBS = $(LIBNL) $(LIBM)
|
||||
|
||||
all: libwprobe.a wprobe-info
|
||||
|
||||
libwprobe.a: wprobe.o
|
||||
rm -f $@
|
||||
$(AR) rcu $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(WFLAGS) -c -o $@ $(CPPFLAGS) $(CFLAGS) $<
|
||||
|
||||
wprobe-info: wprobe-info.o wprobe.o
|
||||
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
|
||||
Reference in New Issue
Block a user