xref: /btstack/port/posix-h4-zephyr/Makefile (revision f11fd9a990fedbf11b7c70e38b9da44019506e13)
16807484cSMatthias Ringwald# Makefile for posix-h4 based examples
2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../..
36807484cSMatthias Ringwald
46807484cSMatthias RingwaldCORE += \
56807484cSMatthias Ringwald	btstack_run_loop_posix.c \
6d3849e4cSMatthias Ringwald	btstack_tlv_posix.c \
7793a0509SMatthias Ringwald	btstack_uart_posix.c \
87435ec7bSMatthias Ringwald	hci_dump_posix_fs.c \
96807484cSMatthias Ringwald	hci_transport_h4.c \
1081862996SMatthias Ringwald	le_device_db_tlv.c \
116807484cSMatthias Ringwald	main.c \
126807484cSMatthias Ringwald	btstack_stdin_posix.c \
13*f11fd9a9SMatthias Ringwald	btstack_signal.c \
14360243beSMatthias Ringwald	btstack_chipset_zephyr.c \
156807484cSMatthias Ringwald
166807484cSMatthias Ringwald# examples
17e29c33b5SMatthias RingwaldCLASSIC =
186807484cSMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
196807484cSMatthias Ringwald
206807484cSMatthias RingwaldCFLAGS  += -g -Wall -Werror \
216807484cSMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/embedded \
226807484cSMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/posix \
23360243beSMatthias Ringwald	-I$(BTSTACK_ROOT)/chipset/zephyr \
24d08566fbSMatthias Ringwald	-I${BTSTACK_ROOT}/3rd-party/tinydir
256807484cSMatthias Ringwald
26*f11fd9a9SMatthias Ringwald# add pthread for ctrl-c signal handler
27*f11fd9a9SMatthias RingwaldLDFLAGS += -lpthread
28*f11fd9a9SMatthias Ringwald
296807484cSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
306807484cSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/embedded
31360243beSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/zephyr
326807484cSMatthias Ringwald
33bdc352b1SMatthias Ringwaldall: ${EXAMPLES_LE_ONLY}
346807484cSMatthias Ringwald
35