2014-09-23 07:29:25 +00:00
|
|
|
BTSTACK_ROOT=../..
|
2009-09-30 20:42:47 +00:00
|
|
|
CC = @CC@
|
2014-09-23 07:29:25 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ -lBTstack -L../../src
|
2016-01-21 10:05:09 +00:00
|
|
|
CFLAGS = @CFLAGS@ \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/daemon \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/posix
|
|
|
|
|
2009-09-30 20:42:47 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
all: test rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
|
2009-09-30 20:42:47 +00:00
|
|
|
|
|
|
|
test: test.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2009-09-30 20:42:47 +00:00
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
l2cap_server: l2cap_server.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2010-01-25 19:46:00 +00:00
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
l2cap_throughput: l2cap_throughput.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2010-07-31 20:01:48 +00:00
|
|
|
|
2009-11-07 16:40:12 +00:00
|
|
|
inquiry: inquiry.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2009-11-07 16:40:12 +00:00
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
rfcomm_cat: rfcomm_cat.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2011-05-01 11:07:56 +00:00
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
rfcomm_echo: rfcomm_echo.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2009-09-30 20:42:47 +00:00
|
|
|
|
2016-01-21 14:47:16 +00:00
|
|
|
rfcomm_test: rfcomm_test.c
|
2014-09-18 20:54:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
2011-06-20 17:19:56 +00:00
|
|
|
|
2014-10-02 20:22:04 +00:00
|
|
|
le_scan: le_scan.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
|
2009-09-30 20:42:47 +00:00
|
|
|
clean:
|
2016-01-21 14:47:16 +00:00
|
|
|
rm -f test mitm rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
|
2014-10-16 10:33:07 +00:00
|
|
|
rm -rf *.dSYM
|
|
|
|
|
2009-09-30 20:42:47 +00:00
|
|
|
install:
|
|
|
|
echo "nothing to be done"
|
|
|
|
|