xref: /btstack/port/windows-h4-zephyr/Makefile (revision 6486d2780715619957fb8a2dafcdc878856ef6af)
1a1a85659SMatthias Ringwald# Makefile for windows-h4 examples
2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../..
3a1a85659SMatthias Ringwald
4*6486d278SMatthias RingwaldCORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
5a1a85659SMatthias Ringwald
6a1a85659SMatthias RingwaldCOMMON  += \
7a1a85659SMatthias Ringwald			btstack_chipset_zephyr.c     \
8a1a85659SMatthias Ringwald			btstack_run_loop_windows.c   \
9a1a85659SMatthias Ringwald			btstack_uart_block_windows.c \
10a1a85659SMatthias Ringwald			hci_transport_h4.c           \
11*6486d278SMatthias Ringwald			le_device_db_tlv.c           \
12a1a85659SMatthias Ringwald
13a1a85659SMatthias Ringwald# examples
14a1a85659SMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
15a1a85659SMatthias Ringwald
16a1a85659SMatthias Ringwald# CC = gcc-fsf-4.9
17a1a85659SMatthias RingwaldCFLAGS  += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror
18a1a85659SMatthias Ringwald# CFLAGS += -Werror
19a1a85659SMatthias Ringwald
20a1a85659SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/posix \
21a1a85659SMatthias Ringwald		  -I${BTSTACK_ROOT}/platform/windows \
22a1a85659SMatthias Ringwald		  -I${BTSTACK_ROOT}/platform/embedded \
23a1a85659SMatthias Ringwald		  -I$(BTSTACK_ROOT)/chipset/zephyr \
24d08566fbSMatthias Ringwald		  -I${BTSTACK_ROOT}/3rd-party/tinydir
25a1a85659SMatthias Ringwald
26a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/windows
27a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
28a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/zephyr
29a1a85659SMatthias Ringwald
30bdc352b1SMatthias RingwaldEXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
31bdc352b1SMatthias Ringwald
32bdc352b1SMatthias Ringwaldall: ${EXAMPLES}
33