1# Makefile for windows-h4 examples 2BTSTACK_ROOT ?= ../.. 3 4CORE += main.c btstack_stdin_windows.c 5 6COMMON += \ 7 btstack_run_loop_windows.c \ 8 hci_transport_h4.c \ 9 btstack_uart_block_windows.c \ 10 le_device_db_fs.c \ 11 btstack_link_key_db_fs.c \ 12 bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \ 13 btstack_chipset_cc256x.c \ 14 btstack_chipset_csr.c \ 15 btstack_chipset_em9301.c \ 16 btstack_chipset_stlc2500d.c \ 17 btstack_chipset_tc3566x.c \ 18 btstack_chipset_bcm.c \ 19 wav_util.c \ 20 21# examples 22include ${BTSTACK_ROOT}/example/Makefile.inc 23 24# fetch and convert TI init scripts 25include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc 26 27# fetch Broadcom init scripts 28# include ${BTSTACK_ROOT}/chipset/bcm/Makefile.inc 29 30# CC = gcc-fsf-4.9 31CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror 32# CFLAGS += -Werror 33 34CFLAGS += -I${BTSTACK_ROOT}/platform/posix \ 35 -I${BTSTACK_ROOT}/platform/windows \ 36 -I${BTSTACK_ROOT}/platform/embedded \ 37 -I$(BTSTACK_ROOT)/chipset/bcm \ 38 -I$(BTSTACK_ROOT)/chipset/cc256x \ 39 -I$(BTSTACK_ROOT)/chipset/csr \ 40 -I$(BTSTACK_ROOT)/chipset/em9301 \ 41 -I$(BTSTACK_ROOT)/chipset/stlc2500d \ 42 -I$(BTSTACK_ROOT)/chipset/tc3566x \ 43 -I${BTSTACK_ROOT}/3rd-party/tinydir 44 45VPATH += ${BTSTACK_ROOT}/platform/windows 46VPATH += ${BTSTACK_ROOT}/platform/posix 47 48VPATH += ${BTSTACK_ROOT}/chipset/bcm 49VPATH += ${BTSTACK_ROOT}/chipset/cc256x 50VPATH += ${BTSTACK_ROOT}/chipset/csr 51VPATH += ${BTSTACK_ROOT}/chipset/em9301 52VPATH += ${BTSTACK_ROOT}/chipset/stlc2500d 53VPATH += ${BTSTACK_ROOT}/chipset/tc3566x 54 55EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_CLASSIC_ONLY} ${EXAMPLES_LE_ONLY} ${EXAMPLES_DUAL_MODE} 56EXAMPLES += pan_lwip_http_server 57 58# assume portaudio is installed in /usr/local 59# CFLAGS += -I/usr/local/include -DHAVE_PORTAUDIO 60# LDFLAGS += -L/sw/lib -lportaudio 61 62all: ${EXAMPLES} 63