xref: /btstack/port/posix-h4-da14585/Makefile (revision d00ab9e3a0094f929407efbf0610465286ad22de)
1ecde56a6SMatthias Ringwald# Makefile for libusb based examples
2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../..
3ecde56a6SMatthias Ringwald
4ecde56a6SMatthias RingwaldCORE += \
5*d00ab9e3SMatthias Ringwald	btstack_chipset_da145xx.c \
6ecde56a6SMatthias Ringwald	btstack_run_loop_posix.c \
7d3849e4cSMatthias Ringwald	btstack_tlv_posix.c \
8793a0509SMatthias Ringwald	btstack_uart_posix.c \
97435ec7bSMatthias Ringwald	hci_dump_posix_fs.c \
10ecde56a6SMatthias Ringwald	hci_transport_h4.c \
1181862996SMatthias Ringwald	le_device_db_tlv.c \
12ecde56a6SMatthias Ringwald	main.c \
13ecde56a6SMatthias Ringwald	btstack_stdin_posix.c \
14f11fd9a9SMatthias Ringwald	btstack_signal.c \
15ecde56a6SMatthias Ringwald	hci_585.c \
16ecde56a6SMatthias Ringwald	# hci_581_active_uart.c \
17ecde56a6SMatthias Ringwald
18ecde56a6SMatthias Ringwald# examples
19e29c33b5SMatthias RingwaldCLASSIC =
20ecde56a6SMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc
21ecde56a6SMatthias Ringwald
22ecde56a6SMatthias RingwaldCFLAGS  += -g -Wall -Werror \
23ecde56a6SMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/posix \
24*d00ab9e3SMatthias Ringwald	-I$(BTSTACK_ROOT)/chipset/da145xx \
25ecde56a6SMatthias Ringwald	-I$(BTSTACK_ROOT)/platform/embedded \
26ecde56a6SMatthias Ringwald	-I${BTSTACK_ROOT}/3rd-party/tinydir
27ecde56a6SMatthias Ringwald
28f11fd9a9SMatthias Ringwald# add pthread for ctrl-c signal handler
29f11fd9a9SMatthias RingwaldLDFLAGS += -lpthread
30f11fd9a9SMatthias Ringwald
31ecde56a6SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix
32*d00ab9e3SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/da145xx
33ecde56a6SMatthias Ringwald
3481862996SMatthias RingwaldEXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
35ecde56a6SMatthias Ringwald
36ecde56a6SMatthias Ringwaldall: ${EXAMPLES}
37ecde56a6SMatthias Ringwald
38