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