mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
40 lines
935 B
Makefile
40 lines
935 B
Makefile
BTSTACK_ROOT=../..
|
|
CC = @CC@
|
|
LDFLAGS = @LDFLAGS@ -lBTstack -L../../src
|
|
CFLAGS = @CFLAGS@ -I$(BTSTACK_ROOT)/platform/daemon -I$(BTSTACK_ROOT)/platform/daemon/src
|
|
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"
|
|
|