2018-01-04 15:54:59 +00:00
|
|
|
# Makefile for windows-h4 examples
|
2019-04-15 12:34:59 +00:00
|
|
|
BTSTACK_ROOT ?= ../..
|
2018-01-04 15:54:59 +00:00
|
|
|
|
2022-04-29 09:46:26 +00:00
|
|
|
CORE += main.c btstack_stdin_windows.c btstack_tlv_windows.c hci_dump_windows_fs.c
|
2018-01-04 15:54:59 +00:00
|
|
|
|
|
|
|
COMMON += \
|
|
|
|
btstack_chipset_zephyr.c \
|
|
|
|
btstack_run_loop_windows.c \
|
|
|
|
btstack_uart_block_windows.c \
|
|
|
|
hci_transport_h4.c \
|
2020-06-22 14:27:42 +00:00
|
|
|
le_device_db_tlv.c \
|
2018-01-04 15:54:59 +00:00
|
|
|
|
|
|
|
# examples
|
2020-09-11 14:55:08 +00:00
|
|
|
CLASSIC=
|
2018-01-04 15:54:59 +00:00
|
|
|
include ${BTSTACK_ROOT}/example/Makefile.inc
|
|
|
|
|
|
|
|
# CC = gcc-fsf-4.9
|
|
|
|
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror
|
|
|
|
|
|
|
|
CFLAGS += -I${BTSTACK_ROOT}/platform/posix \
|
|
|
|
-I${BTSTACK_ROOT}/platform/windows \
|
|
|
|
-I${BTSTACK_ROOT}/platform/embedded \
|
|
|
|
-I$(BTSTACK_ROOT)/chipset/zephyr \
|
2018-02-05 16:56:29 +00:00
|
|
|
-I${BTSTACK_ROOT}/3rd-party/tinydir
|
2018-01-04 15:54:59 +00:00
|
|
|
|
|
|
|
VPATH += ${BTSTACK_ROOT}/platform/windows
|
|
|
|
VPATH += ${BTSTACK_ROOT}/platform/posix
|
|
|
|
VPATH += ${BTSTACK_ROOT}/chipset/zephyr
|
|
|
|
|
2019-06-21 08:45:17 +00:00
|
|
|
EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
|
|
|
|
|
|
|
|
all: ${EXAMPLES}
|