1e72b198fSMatthias Ringwald# Makefile for libusb based examples 2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../.. 3e72b198fSMatthias Ringwald 4e72b198fSMatthias RingwaldCORE += \ 5*d00ab9e3SMatthias Ringwald btstack_chipset_da145xx.c \ 6e72b198fSMatthias Ringwald hci_581_active_uart.c \ 7e72b198fSMatthias Ringwald btstack_run_loop_posix.c \ 8d3849e4cSMatthias Ringwald btstack_tlv_posix.c \ 9793a0509SMatthias Ringwald btstack_uart_posix.c \ 107435ec7bSMatthias Ringwald hci_dump_posix_fs.c \ 11e72b198fSMatthias Ringwald hci_transport_h4.c \ 1281862996SMatthias Ringwald le_device_db_tlv.c \ 13e72b198fSMatthias Ringwald main.c \ 1408c0d996SMatthias Ringwald wav_util.c \ 15c5e6180eSMatthias Ringwald btstack_stdin_posix.c \ 16f11fd9a9SMatthias Ringwald btstack_signal.c \ 17e72b198fSMatthias Ringwald 18e72b198fSMatthias Ringwald# examples 19e29c33b5SMatthias RingwaldCLASSIC = 20e72b198fSMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc 21e72b198fSMatthias Ringwald 22e72b198fSMatthias RingwaldCFLAGS += -g -Wall -Werror \ 23e72b198fSMatthias Ringwald -I$(BTSTACK_ROOT)/platform/posix \ 24*d00ab9e3SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/da145xx \ 25e72b198fSMatthias Ringwald -I$(BTSTACK_ROOT)/platform/embedded \ 26d08566fbSMatthias Ringwald -I${BTSTACK_ROOT}/3rd-party/tinydir 27e72b198fSMatthias Ringwald 28f11fd9a9SMatthias Ringwald# add pthread for ctrl-c signal handler 29f11fd9a9SMatthias RingwaldLDFLAGS += -lpthread 30f11fd9a9SMatthias Ringwald 31e72b198fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix 32*d00ab9e3SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/da145xx 33e72b198fSMatthias Ringwald 34bdc352b1SMatthias RingwaldEXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY} 35e72b198fSMatthias Ringwald 36e72b198fSMatthias Ringwaldall: ${EXAMPLES} 37e72b198fSMatthias Ringwald 38