xref: /btstack/port/windows-h4/Makefile (revision 1b2596b5303dd8caeea8565532c93cca8dab8cc4)
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
44VPATH += ${BTSTACK_ROOT}/platform/windows
45VPATH += ${BTSTACK_ROOT}/platform/posix
46
47VPATH += ${BTSTACK_ROOT}/chipset/bcm
48VPATH += ${BTSTACK_ROOT}/chipset/cc256x
49VPATH += ${BTSTACK_ROOT}/chipset/csr
50VPATH += ${BTSTACK_ROOT}/chipset/em9301
51VPATH += ${BTSTACK_ROOT}/chipset/stlc2500d
52VPATH += ${BTSTACK_ROOT}/chipset/tc3566x
53
54# assume portaudio is installed in /usr/local
55# CFLAGS  += -I/usr/local/include -DHAVE_PORTAUDIO
56# LDFLAGS += -L/sw/lib -lportaudio
57
58all: ${EXAMPLES}
59