btstack/platform/daemon/example/Makefile.in

43 lines
937 B
Makefile

BTSTACK_ROOT=../..
CC = @CC@
LDFLAGS = @LDFLAGS@ -lBTstack -L../../src
CFLAGS = @CFLAGS@ \
-I$(BTSTACK_ROOT)/platform/daemon \
-I$(BTSTACK_ROOT)/platform/posix
prefix = @prefix@
all: test rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
test: test.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap_server: l2cap_server.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap_throughput: l2cap_throughput.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
inquiry: inquiry.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_cat: rfcomm_cat.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_echo: rfcomm_echo.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm_test: rfcomm_test.c
$(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
rm -rf *.dSYM
install:
echo "nothing to be done"