2017-03-30 17:31:10 +02:00
|
|
|
# Makefile for libusb based examples
|
2019-04-15 14:34:59 +02:00
|
|
|
BTSTACK_ROOT ?= ../..
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
CORE += \
|
|
|
|
btstack_chipset_da14581.c \
|
|
|
|
hci_581_active_uart.c \
|
|
|
|
btstack_run_loop_posix.c \
|
2018-07-29 10:29:48 +02:00
|
|
|
btstack_tlv_posix.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
btstack_uart_block_posix.c \
|
|
|
|
hci_transport_h4.c \
|
2019-10-09 12:15:05 +02:00
|
|
|
le_device_db_tlv.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
main.c \
|
2017-06-02 14:32:04 +02:00
|
|
|
wav_util.c \
|
2017-08-14 11:01:11 +02:00
|
|
|
btstack_stdin_posix.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
# examples
|
|
|
|
include ${BTSTACK_ROOT}/example/Makefile.inc
|
|
|
|
|
|
|
|
CFLAGS += -g -Wall -Werror \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/posix \
|
|
|
|
-I$(BTSTACK_ROOT)/chipset/da14581 \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/embedded \
|
2018-02-05 17:56:29 +01:00
|
|
|
-I${BTSTACK_ROOT}/3rd-party/tinydir
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
VPATH += ${BTSTACK_ROOT}/platform/posix
|
|
|
|
VPATH += ${BTSTACK_ROOT}/chipset/da14581
|
|
|
|
|
2019-06-21 10:45:17 +02:00
|
|
|
EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
all: ${EXAMPLES}
|
|
|
|
|