xref: /btstack/port/posix-h4-zephyr/Makefile (revision f11fd9a990fedbf11b7c70e38b9da44019506e13)
1# Makefile for posix-h4 based examples
2BTSTACK_ROOT ?= ../..
3
4CORE += \
5	btstack_run_loop_posix.c \
6	btstack_tlv_posix.c \
7	btstack_uart_posix.c \
8	hci_dump_posix_fs.c \
9	hci_transport_h4.c \
10	le_device_db_tlv.c \
11	main.c \
12	btstack_stdin_posix.c \
13	btstack_signal.c \
14	btstack_chipset_zephyr.c \
15
16# examples
17CLASSIC =
18include ${BTSTACK_ROOT}/example/Makefile.inc
19
20CFLAGS  += -g -Wall -Werror \
21	-I$(BTSTACK_ROOT)/platform/embedded \
22	-I$(BTSTACK_ROOT)/platform/posix \
23	-I$(BTSTACK_ROOT)/chipset/zephyr \
24	-I${BTSTACK_ROOT}/3rd-party/tinydir
25
26# add pthread for ctrl-c signal handler
27LDFLAGS += -lpthread
28
29VPATH += ${BTSTACK_ROOT}/platform/posix
30VPATH += ${BTSTACK_ROOT}/platform/embedded
31VPATH += ${BTSTACK_ROOT}/chipset/zephyr
32
33all: ${EXAMPLES_LE_ONLY}
34
35