xref: /btstack/port/windows-h4-zephyr/Makefile (revision e29c33b5cfe2a6bef8c8dba5b124ab8812f76d91)
1a1a85659SMatthias Ringwald# Makefile for windows-h4 examples
2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../..
3a1a85659SMatthias Ringwald
46486d278SMatthias 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           \
116486d278SMatthias Ringwald			le_device_db_tlv.c           \
12a1a85659SMatthias Ringwald
13a1a85659SMatthias Ringwald# examples
14*e29c33b5SMatthias RingwaldCLASSIC=
15a1a85659SMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
16a1a85659SMatthias Ringwald
17a1a85659SMatthias Ringwald# CC = gcc-fsf-4.9
18a1a85659SMatthias RingwaldCFLAGS  += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror
19a1a85659SMatthias Ringwald# CFLAGS += -Werror
20a1a85659SMatthias Ringwald
21a1a85659SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/posix \
22a1a85659SMatthias Ringwald		  -I${BTSTACK_ROOT}/platform/windows \
23a1a85659SMatthias Ringwald		  -I${BTSTACK_ROOT}/platform/embedded \
24a1a85659SMatthias Ringwald		  -I$(BTSTACK_ROOT)/chipset/zephyr \
25d08566fbSMatthias Ringwald		  -I${BTSTACK_ROOT}/3rd-party/tinydir
26a1a85659SMatthias Ringwald
27a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/windows
28a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
29a1a85659SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/zephyr
30a1a85659SMatthias Ringwald
31bdc352b1SMatthias RingwaldEXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
32bdc352b1SMatthias Ringwald
33bdc352b1SMatthias Ringwaldall: ${EXAMPLES}
34