btstack/port/daemon/example/Makefile.in

47 lines
1.0 KiB
Makefile
Raw Normal View History

2015-05-21 20:43:39 +00:00
BTSTACK_ROOT=../../..
CC = @CC@
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
2015-11-13 14:04:41 +00:00
CFLAGS = @CFLAGS@ \
2016-02-19 12:57:49 +00:00
-I$(BTSTACK_ROOT)/platform/daemon/src \
2016-01-20 13:20:47 +00:00
-I$(BTSTACK_ROOT)/platform/posix \
2015-11-13 14:04:41 +00:00
-I$(BTSTACK_ROOT)/src \
-I..
2015-05-21 20:43:39 +00:00
prefix = @prefix@
VPATH += ${BTSTACK_ROOT}/platform/daemon/example
2015-05-21 20:43:39 +00:00
all: test rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
2015-05-21 20:43:39 +00:00
test: test.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap_server: l2cap_server.c
2015-05-21 20:43:39 +00:00
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap_throughput: l2cap_throughput.c
2015-05-21 20:43:39 +00:00
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
inquiry: inquiry.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_cat: rfcomm_cat.c
2015-05-21 20:43:39 +00:00
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_echo: rfcomm_echo.c
2015-05-21 20:43:39 +00:00
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_test: rfcomm_test.c
2015-05-21 20:43:39 +00:00
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
le_scan: le_scan.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean:
rm -f test mitm rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
2015-05-21 20:43:39 +00:00
rm -rf *.dSYM
install:
echo "nothing to be done"