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