1# Makefile for libusb based examples 2BTSTACK_ROOT ?= ../.. 3 4CORE += \ 5 btstack_chipset_da14581.c \ 6 hci_581_active_uart.c \ 7 btstack_run_loop_posix.c \ 8 btstack_tlv_posix.c \ 9 btstack_uart_block_posix.c \ 10 hci_transport_h4.c \ 11 le_device_db_tlv.c \ 12 main.c \ 13 wav_util.c \ 14 btstack_stdin_posix.c \ 15 16# examples 17include ${BTSTACK_ROOT}/example/Makefile.inc 18 19CFLAGS += -g -Wall -Werror \ 20 -I$(BTSTACK_ROOT)/platform/posix \ 21 -I$(BTSTACK_ROOT)/chipset/da14581 \ 22 -I$(BTSTACK_ROOT)/platform/embedded \ 23 -I${BTSTACK_ROOT}/3rd-party/tinydir 24 25VPATH += ${BTSTACK_ROOT}/platform/posix 26VPATH += ${BTSTACK_ROOT}/chipset/da14581 27 28EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY} 29 30all: ${EXAMPLES} 31 32