xref: /btstack/port/posix-h4-da14581/Makefile (revision e29c33b5cfe2a6bef8c8dba5b124ab8812f76d91)
1e72b198fSMatthias Ringwald# Makefile for libusb based examples
2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../..
3e72b198fSMatthias Ringwald
4e72b198fSMatthias RingwaldCORE += \
5e72b198fSMatthias Ringwald	btstack_chipset_da14581.c \
6e72b198fSMatthias Ringwald	hci_581_active_uart.c \
7e72b198fSMatthias Ringwald	btstack_run_loop_posix.c \
8d3849e4cSMatthias Ringwald	btstack_tlv_posix.c \
9e72b198fSMatthias Ringwald	btstack_uart_block_posix.c \
10e72b198fSMatthias Ringwald	hci_transport_h4.c \
1181862996SMatthias Ringwald	le_device_db_tlv.c \
12e72b198fSMatthias Ringwald	main.c \
1308c0d996SMatthias Ringwald	wav_util.c 					\
14c5e6180eSMatthias Ringwald	btstack_stdin_posix.c \
15e72b198fSMatthias Ringwald
16e72b198fSMatthias Ringwald# examples
17*e29c33b5SMatthias RingwaldCLASSIC =
18e72b198fSMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
19e72b198fSMatthias Ringwald
20e72b198fSMatthias RingwaldCFLAGS  += -g -Wall -Werror \
21e72b198fSMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/posix \
22e72b198fSMatthias Ringwald	-I$(BTSTACK_ROOT)/chipset/da14581 \
23e72b198fSMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/embedded \
24d08566fbSMatthias Ringwald	-I${BTSTACK_ROOT}/3rd-party/tinydir
25e72b198fSMatthias Ringwald
26e72b198fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
27e72b198fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/da14581
28e72b198fSMatthias Ringwald
29bdc352b1SMatthias RingwaldEXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
30e72b198fSMatthias Ringwald
31e72b198fSMatthias Ringwaldall: ${EXAMPLES}
32e72b198fSMatthias Ringwald
33