2017-03-30 15:31:10 +00:00
|
|
|
# Makefile for libusb based examples
|
2019-04-15 12:34:59 +00:00
|
|
|
BTSTACK_ROOT ?= ../..
|
2017-03-30 15:31:10 +00:00
|
|
|
|
|
|
|
CORE += \
|
2022-02-03 21:25:38 +00:00
|
|
|
btstack_chipset_da145xx.c \
|
2017-03-30 15:31:10 +00:00
|
|
|
hci_581_active_uart.c \
|
|
|
|
btstack_run_loop_posix.c \
|
2018-07-29 08:29:48 +00:00
|
|
|
btstack_tlv_posix.c \
|
2021-03-02 14:54:23 +00:00
|
|
|
btstack_uart_posix.c \
|
2021-03-09 15:39:03 +00:00
|
|
|
hci_dump_posix_fs.c \
|
2017-03-30 15:31:10 +00:00
|
|
|
hci_transport_h4.c \
|
2019-10-09 10:15:05 +00:00
|
|
|
le_device_db_tlv.c \
|
2017-03-30 15:31:10 +00:00
|
|
|
main.c \
|
2017-06-02 12:32:04 +00:00
|
|
|
wav_util.c \
|
2017-08-14 09:01:11 +00:00
|
|
|
btstack_stdin_posix.c \
|
2021-07-01 20:12:30 +00:00
|
|
|
btstack_signal.c \
|
2017-03-30 15:31:10 +00:00
|
|
|
|
|
|
|
# examples
|
2020-09-11 14:55:08 +00:00
|
|
|
CLASSIC =
|
2017-03-30 15:31:10 +00:00
|
|
|
include ${BTSTACK_ROOT}/example/Makefile.inc
|
|
|
|
|
|
|
|
CFLAGS += -g -Wall -Werror \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/posix \
|
2022-02-03 21:25:38 +00:00
|
|
|
-I$(BTSTACK_ROOT)/chipset/da145xx \
|
2017-03-30 15:31:10 +00:00
|
|
|
-I$(BTSTACK_ROOT)/platform/embedded \
|
2018-02-05 16:56:29 +00:00
|
|
|
-I${BTSTACK_ROOT}/3rd-party/tinydir
|
2017-03-30 15:31:10 +00:00
|
|
|
|
2021-07-01 20:12:30 +00:00
|
|
|
# add pthread for ctrl-c signal handler
|
|
|
|
LDFLAGS += -lpthread
|
|
|
|
|
2017-03-30 15:31:10 +00:00
|
|
|
VPATH += ${BTSTACK_ROOT}/platform/posix
|
2022-02-03 21:25:38 +00:00
|
|
|
VPATH += ${BTSTACK_ROOT}/chipset/da145xx
|
2017-03-30 15:31:10 +00:00
|
|
|
|
2019-06-21 08:45:17 +00:00
|
|
|
EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
|
2017-03-30 15:31:10 +00:00
|
|
|
|
|
|
|
all: ${EXAMPLES}
|
|
|
|
|