1# Makefile for windows-h4 examples 2BTSTACK_ROOT = ../.. 3 4CORE += main.c stdin_support.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 20# examples 21include ${BTSTACK_ROOT}/example/Makefile.inc 22 23# fetch and convert TI init scripts 24include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc 25 26# fetch Broadcom init scripts 27# include ${BTSTACK_ROOT}/chipset/bcm/Makefile.inc 28 29# CC = gcc-fsf-4.9 30CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror 31# CFLAGS += -Werror 32 33CFLAGS += -I${BTSTACK_ROOT}/platform/posix \ 34 -I${BTSTACK_ROOT}/platform/windows \ 35 -I${BTSTACK_ROOT}/platform/embedded \ 36 -I$(BTSTACK_ROOT)/chipset/bcm \ 37 -I$(BTSTACK_ROOT)/chipset/cc256x \ 38 -I$(BTSTACK_ROOT)/chipset/csr \ 39 -I$(BTSTACK_ROOT)/chipset/em9301 \ 40 -I$(BTSTACK_ROOT)/chipset/stlc2500d \ 41 -I$(BTSTACK_ROOT)/chipset/tc3566x \ 42 43VPATH += ${BTSTACK_ROOT}/platform/windows 44VPATH += ${BTSTACK_ROOT}/platform/posix 45 46VPATH += ${BTSTACK_ROOT}/chipset/bcm 47VPATH += ${BTSTACK_ROOT}/chipset/cc256x 48VPATH += ${BTSTACK_ROOT}/chipset/csr 49VPATH += ${BTSTACK_ROOT}/chipset/em9301 50VPATH += ${BTSTACK_ROOT}/chipset/stlc2500d 51VPATH += ${BTSTACK_ROOT}/chipset/tc3566x 52 53# assume portaudio is installed in /usr/local 54# CFLAGS += -I/usr/local/include -DHAVE_PORTAUDIO 55# LDFLAGS += -L/sw/lib -lportaudio 56 57all: ${EXAMPLES} 58