1fcb08cdbSMilanka Ringwald 2bcf00d8fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src 3bcf00d8fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/ble 4fe5451faSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/ble/gatt-service 5bcf00d8fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/classic 6cf862b36SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/mesh 7d567aeb3SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/src/mesh/gatt-service 8bcf00d8fSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/example 960da6912SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce 1060da6912SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce 11f40f8caeSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/hxcmod-player 1260da6912SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/hxcmod-player 1360da6912SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/hxcmod-player/mods 1497dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/core/src/core/ 1597dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/core/src/core/ipv4 1697dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/core/src/core/ipv6 1797dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/core/src/netif 1897dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/core/src/apps/http 1997dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/lwip/dhcp-server 20c1bc0b8eSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/md5 21c692d776SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc 22e03b79abSMatthias RingwaldVPATH += ${BTSTACK_ROOT}/3rd-party/yxml 2397dc5e69SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/lwip 24235be4f4SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/lwip/port 2585417dcbSMatthias Ringwald 26bcf00d8fSMatthias Ringwald 27bcf00d8fSMatthias RingwaldCFLAGS += -I. 28bcf00d8fSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/src/ble 29bcf00d8fSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/src/classic 30cf862b36SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/src/mesh 31bcf00d8fSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/src 3260da6912SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/include 3360da6912SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/include 34f40f8caeSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/hxcmod-player 3597dc5e69SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/lwip/core/src/include/ 3697dc5e69SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/lwip/dhcp-server 37c1bc0b8eSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/md5 38c692d776SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/micro-ecc 39e03b79abSMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/3rd-party/yxml 4097dc5e69SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/lwip 41235be4f4SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/lwip/port 4240e13339SMatthias Ringwald 4340e13339SMatthias Ringwald# for CVSD/SBC PLC 4440e13339SMatthias RingwaldLDFLAGS += -lm 4540e13339SMatthias Ringwald 46bcf00d8fSMatthias RingwaldCORE += \ 47bcf00d8fSMatthias Ringwald btstack_memory.c \ 48bcf00d8fSMatthias Ringwald btstack_linked_list.c \ 49bcf00d8fSMatthias Ringwald btstack_memory_pool.c \ 50bcf00d8fSMatthias Ringwald btstack_run_loop.c \ 51bcf00d8fSMatthias Ringwald btstack_util.c \ 52bcf00d8fSMatthias Ringwald 53bcf00d8fSMatthias RingwaldCOMMON += \ 541cfb383eSMatthias Ringwald ad_parser.c \ 55bcf00d8fSMatthias Ringwald hci.c \ 56bcf00d8fSMatthias Ringwald hci_cmd.c \ 57bcf00d8fSMatthias Ringwald hci_dump.c \ 58212d7460SMatthias Ringwald hci_event.c \ 59bcf00d8fSMatthias Ringwald l2cap.c \ 60bcf00d8fSMatthias Ringwald l2cap_signaling.c \ 61b88bf5bfSMatthias Ringwald btstack_audio.c \ 622ef57735SMatthias Ringwald btstack_tlv.c \ 63d1a1f6a4SMatthias Ringwald btstack_crypto.c \ 642b3b87f9SMatthias Ringwald uECC.c \ 65fedcc363SMatthias Ringwald sm.c \ 663a18db10SMatthias Ringwald 671b27a074SMatthias RingwaldCLASSIC ?= \ 68bcf00d8fSMatthias Ringwald sdp_util.c \ 696bee1f95SMatthias Ringwald gatt_sdp.c \ 70efda0b48SMatthias Ringwald spp_server.c \ 71bcf00d8fSMatthias Ringwald rfcomm.c \ 72bcf00d8fSMatthias Ringwald bnep.c \ 73bcf00d8fSMatthias Ringwald sdp_server.c \ 74c4b3290dSMatthias Ringwald device_id_server.c \ 75bcf00d8fSMatthias Ringwald 76bcf00d8fSMatthias RingwaldSDP_CLIENT += \ 77bcf00d8fSMatthias Ringwald sdp_client.o \ 78efda0b48SMatthias Ringwald sdp_client_rfcomm.o \ 79bcf00d8fSMatthias Ringwald 80bcf00d8fSMatthias RingwaldATT += \ 81bcf00d8fSMatthias Ringwald att_dispatch.c \ 82bcf00d8fSMatthias Ringwald 83bcf00d8fSMatthias RingwaldGATT_SERVER += \ 84bcf00d8fSMatthias Ringwald att_db.c \ 85bcf00d8fSMatthias Ringwald att_server.c \ 86bcf00d8fSMatthias Ringwald 87bcf00d8fSMatthias RingwaldGATT_CLIENT += \ 88bcf00d8fSMatthias Ringwald gatt_client.c \ 89174a0c1cSMilanka Ringwald battery_service_client.c \ 9077aad125SMilanka Ringwald device_information_service_client.c \ 9178ae886bSMilanka Ringwald scan_parameters_service_client.c \ 92cf26c8fbSMilanka Ringwald hids_client.c \ 93bcf00d8fSMatthias Ringwald 94bcf00d8fSMatthias RingwaldPAN += \ 95bcf00d8fSMatthias Ringwald pan.c \ 96bcf00d8fSMatthias Ringwald 97faccbb29SMatthias RingwaldMBEDTLS = \ 98faccbb29SMatthias Ringwald bignum.c \ 99faccbb29SMatthias Ringwald ecp.c \ 100faccbb29SMatthias Ringwald ecp_curves.c \ 10168437d83SMatthias Ringwald sm_mbedtls_allocator.c \ 102d3bd9600SMatthias Ringwald memory_buffer_alloc.c \ 1036643eff8SMatthias Ringwald platform.c \ 104faccbb29SMatthias Ringwald 105665a00cbSMilanka Ringwald 10697dc5e69SMatthias RingwaldLWIP_CORE_SRC = init.c mem.c memp.c netif.c udp.c ip.c pbuf.c inet_chksum.c def.c tcp.c tcp_in.c tcp_out.c timeouts.c sys_arch.c 10797dc5e69SMatthias RingwaldLWIP_IPV4_SRC = acd.c dhcp.c etharp.c icmp.c ip4.c ip4_frag.c ip4_addr.c 10897dc5e69SMatthias RingwaldLWIP_NETIF_SRC = ethernet.c 10997dc5e69SMatthias RingwaldLWIP_HTTPD = altcp_proxyconnect.c fs.c httpd.c 11097dc5e69SMatthias RingwaldLWIP_SRC = ${LWIP_CORE_SRC} ${LWIP_IPV4_SRC} ${LWIP_NETIF_SRC} ${LWIP_HTTPD} dhserver.c 11197dc5e69SMatthias Ringwald 1120e5ac34fSMatthias Ringwald# List of files for Bluedroid SBC codec 1130e5ac34fSMatthias Ringwaldinclude ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/Makefile.inc 1140e5ac34fSMatthias Ringwaldinclude ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/Makefile.inc 115fcb08cdbSMilanka Ringwald 116046d88ffSMatthias RingwaldSBC_CODEC = \ 117046d88ffSMatthias Ringwald ${SBC_DECODER} \ 118cd7b9db2SMatthias Ringwald btstack_sbc_plc.c \ 119c37cd8f3SMatthias Ringwald btstack_sbc_decoder_bluedroid.c \ 120046d88ffSMatthias Ringwald ${SBC_ENCODER} \ 121c37cd8f3SMatthias Ringwald btstack_sbc_encoder_bluedroid.c \ 122cd7b9db2SMatthias Ringwald hfp_msbc.c \ 123046d88ffSMatthias Ringwald hfp_codec.c \ 124046d88ffSMatthias Ringwald btstack_sbc_bluedroid.c 1254f0d422dSMilanka Ringwald 126fbc7c9f2SMilanka RingwaldCVSD_PLC = \ 127cd7b9db2SMatthias Ringwald btstack_cvsd_plc.c \ 128fbc7c9f2SMilanka Ringwald 129f40f8caeSMatthias RingwaldAVDTP += \ 130f40f8caeSMatthias Ringwald avdtp_util.c \ 131f40f8caeSMatthias Ringwald avdtp.c \ 132f40f8caeSMatthias Ringwald avdtp_initiator.c \ 133f40f8caeSMatthias Ringwald avdtp_acceptor.c \ 134f40f8caeSMatthias Ringwald avdtp_source.c \ 135f40f8caeSMatthias Ringwald avdtp_sink.c \ 1361fd701e0SMatthias Ringwald a2dp.c \ 137f40f8caeSMatthias Ringwald a2dp_source.c \ 138f40f8caeSMatthias Ringwald a2dp_sink.c \ 139f40f8caeSMatthias Ringwald btstack_ring_buffer.c \ 140f40f8caeSMatthias Ringwald 141665a00cbSMilanka RingwaldAVRCP += \ 142665a00cbSMilanka Ringwald avrcp.c \ 143665a00cbSMilanka Ringwald avrcp_controller.c \ 144665a00cbSMilanka Ringwald avrcp_target.c \ 145665a00cbSMilanka Ringwald avrcp_browsing.c \ 146665a00cbSMilanka Ringwald avrcp_browsing_controller.c \ 147665a00cbSMilanka Ringwald avrcp_browsing_target.c \ 148665a00cbSMilanka Ringwald avrcp_media_item_iterator.c \ 149665a00cbSMilanka Ringwald 150f40f8caeSMatthias RingwaldHXCMOD_PLAYER = \ 15160da6912SMatthias Ringwald hxcmod.c \ 15260da6912SMatthias Ringwald nao-deceased_by_disease.c \ 153fbc7c9f2SMilanka Ringwald 154cf862b36SMatthias RingwaldMESH = \ 155cf862b36SMatthias Ringwald adv_bearer.c \ 156cf862b36SMatthias Ringwald beacon.c \ 157cf862b36SMatthias Ringwald gatt_bearer.c \ 15839018edaSMilanka Ringwald mesh.c \ 15939018edaSMilanka Ringwald mesh_access.c \ 160cc2a5f42SMilanka Ringwald mesh_configuration_client.c \ 16139018edaSMilanka Ringwald mesh_configuration_server.c \ 162cf862b36SMatthias Ringwald mesh_crypto.c \ 16339018edaSMilanka Ringwald mesh_foundation.c \ 16485dc67fcSMilanka Ringwald mesh_generic_default_transition_time_client.c \ 16507affd82SMilanka Ringwald mesh_generic_default_transition_time_server.c \ 16639018edaSMilanka Ringwald mesh_generic_level_client.c \ 16739018edaSMilanka Ringwald mesh_generic_level_server.c \ 16839018edaSMilanka Ringwald mesh_generic_on_off_client.c \ 16939018edaSMilanka Ringwald mesh_generic_on_off_server.c \ 17039018edaSMilanka Ringwald mesh_health_server.c \ 17139018edaSMilanka Ringwald mesh_iv_index_seq_number.c \ 17239018edaSMilanka Ringwald mesh_keys.c \ 173cf862b36SMatthias Ringwald mesh_lower_transport.c \ 174cf862b36SMatthias Ringwald mesh_network.c \ 175cf862b36SMatthias Ringwald mesh_node.c \ 17639018edaSMilanka Ringwald mesh_peer.c \ 17739018edaSMilanka Ringwald mesh_provisioning_service_server.c \ 17839018edaSMilanka Ringwald mesh_proxy.c \ 17939018edaSMilanka Ringwald mesh_proxy_service_server.c \ 180cf862b36SMatthias Ringwald mesh_upper_transport.c \ 18139018edaSMilanka Ringwald mesh_virtual_addresses.c \ 182cf862b36SMatthias Ringwald pb_adv.c \ 183cf862b36SMatthias Ringwald pb_gatt.c \ 18439018edaSMilanka Ringwald provisioning.c \ 18539018edaSMilanka Ringwald provisioning_device.c \ 18639018edaSMilanka Ringwald provisioning_provisioner.c \ 187cf862b36SMatthias Ringwald 188bdc352b1SMatthias Ringwald# List of General Examples without Bluetooth 189bdc352b1SMatthias Ringwald 190bdc352b1SMatthias RingwaldEXAMPLES_GENERAL = \ 1919eddf5e8SMatthias Ringwald audio_duplex \ 192bdc352b1SMatthias Ringwald led_counter \ 193bdc352b1SMatthias Ringwald mod_player \ 194bdc352b1SMatthias Ringwald sine_player \ 195bdc352b1SMatthias Ringwald 196bdc352b1SMatthias Ringwald# List of Examples that only use Bluetooth BR/EDR = Classic 197bdc352b1SMatthias Ringwald 198bdc352b1SMatthias RingwaldEXAMPLES_CLASSIC_ONLY = \ 1999f951df8SMilanka Ringwald a2dp_sink_demo \ 2003fb2c90bSMilanka Ringwald a2dp_source_demo \ 201a796c06fSMilanka Ringwald avrcp_browsing_client \ 202486d2354SMatthias Ringwald dut_mode_classic \ 203bcf00d8fSMatthias Ringwald gap_dedicated_bonding \ 204bcf00d8fSMatthias Ringwald gap_inquiry \ 205caa3fd52SMatthias Ringwald gap_link_keys \ 2063fb2c90bSMilanka Ringwald hfp_ag_demo \ 2073fb2c90bSMilanka Ringwald hfp_hf_demo \ 2082d05904dSMatthias Ringwald hid_host_demo \ 2092fa56ea6SMatthias Ringwald hid_keyboard_demo \ 210aa29f587SMatthias Ringwald hid_mouse_demo \ 2113fb2c90bSMilanka Ringwald hsp_ag_demo \ 2123fb2c90bSMilanka Ringwald hsp_hs_demo \ 2133fb2c90bSMilanka Ringwald pbap_client_demo \ 214bcf00d8fSMatthias Ringwald sdp_bnep_query \ 215bcf00d8fSMatthias Ringwald sdp_general_query \ 216bcf00d8fSMatthias Ringwald sdp_rfcomm_query \ 217bcf00d8fSMatthias Ringwald spp_counter \ 218bcf00d8fSMatthias Ringwald spp_streamer \ 219cee62800SMatthias Ringwald spp_streamer_client \ 220cf862b36SMatthias Ringwald ublox_spp_le_counter \ 221bcf00d8fSMatthias Ringwald 222bdc352b1SMatthias Ringwald# List of Examples that only use Bluetooth LE 223bdc352b1SMatthias Ringwald 224bdc352b1SMatthias RingwaldEXAMPLES_LE_ONLY= \ 225bcf00d8fSMatthias Ringwald ancs_client_demo \ 226bdc352b1SMatthias Ringwald att_delayed_response \ 227ebdf3c68SMilanka Ringwald gap_le_advertisements \ 228bcf00d8fSMatthias Ringwald gatt_battery_query \ 229bcf00d8fSMatthias Ringwald gatt_browser \ 230bdc352b1SMatthias Ringwald gatt_counter \ 23177aad125SMilanka Ringwald gatt_device_information_query \ 2326d466148SMatthias Ringwald gatt_heart_rate_client \ 233bdc352b1SMatthias Ringwald gatt_streamer_server \ 23477aad125SMilanka Ringwald hog_boot_host_demo \ 235cf26c8fbSMilanka Ringwald hog_host_demo \ 236ebdf3c68SMilanka Ringwald hog_keyboard_demo \ 237ebdf3c68SMilanka Ringwald hog_mouse_demo \ 238284d66bcSMatthias Ringwald le_credit_based_flow_control_mode_client \ 239284d66bcSMatthias Ringwald le_credit_based_flow_control_mode_server \ 24007f151d6SMatthias Ringwald le_mitm \ 241c8f97be6SMatthias Ringwald le_streamer_client \ 2420b4518e2SMatthias Ringwald mesh_node_demo \ 243ebdf3c68SMilanka Ringwald nordic_spp_le_counter \ 244ebdf3c68SMilanka Ringwald nordic_spp_le_streamer \ 2457c485f8bSMatthias Ringwald sm_pairing_central \ 246ebdf3c68SMilanka Ringwald sm_pairing_peripheral \ 247733ac1e8SMilanka Ringwald ublox_spp_le_counter \ 248bcf00d8fSMatthias Ringwald 249bdc352b1SMatthias Ringwald# List of Examples that use Bluetooth BR/EDR/LE = Dual Mode 250bdc352b1SMatthias Ringwald 251bdc352b1SMatthias RingwaldEXAMPLES_DUAL_MODE= \ 252bdc352b1SMatthias Ringwald gatt_counter \ 253bdc352b1SMatthias Ringwald gatt_streamer_server \ 254bdc352b1SMatthias Ringwald spp_and_gatt_counter \ 255bdc352b1SMatthias Ringwald spp_and_gatt_streamer \ 256bdc352b1SMatthias Ringwald 257bdc352b1SMatthias Ringwald# List of GATT files used by either LE_ONLY or DUAL_MODE examples 258bdc352b1SMatthias Ringwald 259bdc352b1SMatthias RingwaldEXAMPLES_GATT_FILES = \ 260bdc352b1SMatthias Ringwald ancs_client_demo.gatt \ 26177aad125SMilanka Ringwald att_delayed_response.gatt \ 262bdc352b1SMatthias Ringwald gatt_battery_query.gatt \ 263bdc352b1SMatthias Ringwald gatt_browser.gatt \ 264bdc352b1SMatthias Ringwald gatt_counter.gatt \ 26577aad125SMilanka Ringwald gatt_device_information_query.gatt \ 266bdc352b1SMatthias Ringwald gatt_streamer_server.gatt \ 26768a70b34SMatthias Ringwald hog_host_demo.gatt \ 268bdc352b1SMatthias Ringwald hog_keyboard_demo.gatt \ 269bdc352b1SMatthias Ringwald hog_mouse_demo.gatt \ 270284d66bcSMatthias Ringwald le_credit_based_flow_control_mode_server.gatt \ 271bdc352b1SMatthias Ringwald nordic_spp_le_counter.gatt \ 272bdc352b1SMatthias Ringwald nordic_spp_le_streamer.gatt \ 273bdc352b1SMatthias Ringwald sm_pairing_central.gatt \ 274bdc352b1SMatthias Ringwald sm_pairing_peripheral.gatt \ 275bdc352b1SMatthias Ringwald spp_and_gatt_counter.gatt \ 276bdc352b1SMatthias Ringwald spp_and_gatt_streamer.gatt \ 277bdc352b1SMatthias Ringwald ublox_spp_le_counter.gatt \ 278bdc352b1SMatthias Ringwald 279bdc352b1SMatthias Ringwald# .h for .gatt 280bdc352b1SMatthias RingwaldEXAMPLES_GATT_H_FILES = $(EXAMPLES_GATT_FILES:.gatt=.h) 281bdc352b1SMatthias Ringwald 282bcf00d8fSMatthias Ringwald# .o for .c 283bcf00d8fSMatthias RingwaldCORE_OBJ = $(CORE:.c=.o) 284bcf00d8fSMatthias RingwaldCOMMON_OBJ = $(COMMON:.c=.o) 2853a18db10SMatthias RingwaldCLASSIC_OBJ = $(CLASSIC:.c=.o) 286bcf00d8fSMatthias RingwaldATT_OBJ = $(ATT:.c=.o) 287bcf00d8fSMatthias RingwaldGATT_CLIENT_OBJ = $(GATT_CLIENT:.c=.o) 288bcf00d8fSMatthias RingwaldGATT_SERVER_OBJ = $(GATT_SERVER:.c=.o) 289bcf00d8fSMatthias RingwaldPAN_OBJ = $(PAN:.c=.o) 290fcb08cdbSMilanka RingwaldSBC_DECODER_OBJ = $(SBC_DECODER:.c=.o) 291fcb08cdbSMilanka RingwaldSBC_ENCODER_OBJ = $(SBC_ENCODER:.c=.o) 292046d88ffSMatthias RingwaldSBC_CODEC_OBJ = $(SBC_CODEC:.c=.o) 293fbc7c9f2SMilanka RingwaldCVSD_PLC_OBJ = $(CVSD_PLC:.c=.o) 294f40f8caeSMatthias RingwaldAVDTP_OBJ = $(AVDTP:.c=.o) 295665a00cbSMilanka RingwaldAVRCP_OBJ = $(AVRCP:.c=.o) 296f40f8caeSMatthias RingwaldHXCMOD_PLAYER_OBJ = $(HXCMOD_PLAYER:.c=.o) 29797dc5e69SMatthias RingwaldLWIP_OBJ = $(LWIP_SRC:.c=.o) 298cf862b36SMatthias RingwaldMESH_OBJ = $(MESH:.c=.o) 299bcf00d8fSMatthias Ringwald 300bcf00d8fSMatthias Ringwalddefault_target: all 301bcf00d8fSMatthias Ringwald 302bcf00d8fSMatthias Ringwald# compile .gatt descriptions 303fbf7b2f3SMatthias Ringwald%.h: %.gatt 3044783d256SMatheus Garbelini python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@ 305bcf00d8fSMatthias Ringwald 306bcf00d8fSMatthias Ringwald# examples 30748b86f8aSMilanka Ringwald 30895c72533SMatthias Ringwaldant_test: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ant_test.c 30995c72533SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 31095c72533SMatthias Ringwald 3113a18db10SMatthias Ringwaldsdp_rfcomm_query: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${PAN_OBJ} ${SDP_CLIENT} sdp_rfcomm_query.c 312bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 313bcf00d8fSMatthias Ringwald 314*c44ec4a0SMatthias Ringwaldpbap_client_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} md5.o obex_iterator.o obex_parser.o obex_message_builder.o obex_srm_client.o goep_client.o yxml.o pbap_client.o pbap_client_demo.o 315f1b34e8dSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 316f1b34e8dSMatthias Ringwald 3173a18db10SMatthias Ringwaldsdp_general_query: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} sdp_general_query.c 318bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 319bcf00d8fSMatthias Ringwald 3203a18db10SMatthias Ringwaldsdp_bnep_query: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} sdp_bnep_query.c 321bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 322bcf00d8fSMatthias Ringwald 3233a18db10SMatthias Ringwaldspp_counter: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} spp_counter.c 324bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 325bcf00d8fSMatthias Ringwald 3267d405bedSMatthias Ringwald 3272769e469SMatthias Ringwaldatt_delayed_response.o: att_delayed_response.h att_delayed_response.c 3282769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out att_delayed_response.h,$^) -o $@ 329a4bfc4feSMatthias Ringwald 3302769e469SMatthias Ringwaldatt_delayed_response: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} att_delayed_response.o 331fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 332fbf7b2f3SMatthias Ringwald 3331aadab7aSMatthias Ringwald 3342769e469SMatthias Ringwaldhog_keyboard_demo.o: hog_keyboard_demo.h hog_keyboard_demo.c 3352769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out hog_keyboard_demo.h,$^) -o $@ 336cf26c8fbSMilanka Ringwald 337698592e1SMatthias Ringwaldhog_keyboard_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} battery_service_server.o device_information_service_server.o btstack_hid_parser.o hids_device.o btstack_ring_buffer.o hog_keyboard_demo.o 338fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 339d7ee901aSMatthias Ringwald 3407c485f8bSMatthias Ringwald 3412769e469SMatthias Ringwaldhog_mouse_demo.o: hog_mouse_demo.h hog_mouse_demo.c 3422769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out hog_mouse_demo.h,$^) -o $@ 3436bee1f95SMatthias Ringwald 344698592e1SMatthias Ringwaldhog_mouse_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} battery_service_server.o device_information_service_server.o btstack_hid_parser.o hids_device.o hog_mouse_demo.o 345fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3462769e469SMatthias Ringwald 3472769e469SMatthias Ringwald 3482769e469SMatthias Ringwaldhog_boot_host_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} hog_boot_host_demo.o 349fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3502769e469SMatthias Ringwald 3512769e469SMatthias Ringwald 35268a70b34SMatthias Ringwaldhog_host_demo.o: hog_host_demo.h hog_host_demo.c 35368a70b34SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out hog_host_demo.h,$^) -o $@ 3542769e469SMatthias Ringwald 355224c7b63SMatthias Ringwaldhog_host_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} btstack_hid_parser.o btstack_hid.o hog_host_demo.o 356fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3572769e469SMatthias Ringwald 3582769e469SMatthias Ringwald 3592769e469SMatthias Ringwaldsm_pairing_peripheral.o: sm_pairing_peripheral.h sm_pairing_peripheral.c 3602769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out sm_pairing_peripheral.h,$^) -o $@ 3612769e469SMatthias Ringwald 3622769e469SMatthias Ringwaldsm_pairing_peripheral: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${GATT_CLIENT_OBJ} sm_pairing_peripheral.o 363fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3642769e469SMatthias Ringwald 3652769e469SMatthias Ringwald 3662769e469SMatthias Ringwaldsm_pairing_central.o: sm_pairing_central.h sm_pairing_central.c 3672769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out sm_pairing_central.h,$^) -o $@ 3682769e469SMatthias Ringwald 3692769e469SMatthias Ringwaldsm_pairing_central: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${GATT_CLIENT_OBJ} sm_pairing_central.o 370fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3712769e469SMatthias Ringwald 3722769e469SMatthias Ringwald 3732769e469SMatthias Ringwaldgatt_counter.o: gatt_counter.h gatt_counter.c 3742769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out gatt_counter.h,$^) -o $@ 3752769e469SMatthias Ringwald 3762769e469SMatthias Ringwaldgatt_counter: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${CLASSIC_OBJ} battery_service_server.o gatt_counter.o 377fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3782769e469SMatthias Ringwald 3792769e469SMatthias Ringwald 3802769e469SMatthias Ringwaldgatt_streamer_server.o: gatt_streamer_server.h gatt_streamer_server.c 3812769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out gatt_streamer_server.h,$^) -o $@ 3822769e469SMatthias Ringwald 3832769e469SMatthias Ringwaldgatt_streamer_server: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${CLASSIC_OBJ} gatt_streamer_server.o 384fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 3852769e469SMatthias Ringwald 386bcf00d8fSMatthias Ringwald 387fedcc363SMatthias Ringwaldle_streamer_client: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} le_streamer_client.c 388c8f97be6SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 389c8f97be6SMatthias Ringwald 39007f151d6SMatthias Ringwaldle_mitm: ${CORE_OBJ} ${COMMON_OBJ} le_mitm.c 39107f151d6SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 39207f151d6SMatthias Ringwald 393fedcc363SMatthias Ringwaldgatt_heart_rate_client: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} gatt_heart_rate_client.c 3946104991bSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 3956104991bSMatthias Ringwald 396bcf00d8fSMatthias Ringwald 3972769e469SMatthias Ringwaldspp_and_gatt_counter.o: spp_and_gatt_counter.h spp_and_gatt_counter.c 3982769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out spp_and_gatt_counter.h,$^) -o $@ 3992769e469SMatthias Ringwald 4002769e469SMatthias Ringwaldspp_and_gatt_counter: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} spp_and_gatt_counter.o 401fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 4022769e469SMatthias Ringwald 4032769e469SMatthias Ringwald 4042769e469SMatthias Ringwaldspp_and_gatt_streamer.o: spp_and_gatt_streamer.h spp_and_gatt_streamer.c 4052769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out spp_and_gatt_streamer.h,$^) -o $@ 4062769e469SMatthias Ringwald 4072769e469SMatthias Ringwaldspp_and_gatt_streamer: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} spp_and_gatt_streamer.o 408fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 4092769e469SMatthias Ringwald 4103d581950SMatthias Ringwald 411cee62800SMatthias Ringwaldspp_streamer: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} spp_streamer.c 412bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 413bcf00d8fSMatthias Ringwald 41496cb50ecSMatthias Ringwaldspp_flowcontrol: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} spp_flowcontrol.c 41596cb50ecSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 41696cb50ecSMatthias Ringwald 417df6b38e6SMatthias Ringwaldspp_streamer_client: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} spp_streamer_client.c 418bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 419bcf00d8fSMatthias Ringwald 4203a18db10SMatthias Ringwaldgap_dedicated_bonding: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} gap_dedicated_bonding.c 421bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 422bcf00d8fSMatthias Ringwald 4231cfb383eSMatthias Ringwaldgap_inquiry: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} gap_inquiry.c 424bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 425bcf00d8fSMatthias Ringwald 426caa3fd52SMatthias Ringwaldgap_link_keys: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} gap_link_keys.c 427caa3fd52SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 428caa3fd52SMatthias Ringwald 4296a4fc708SMatthias Ringwaldpanu_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${PAN_OBJ} panu_demo.c 430bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 431bcf00d8fSMatthias Ringwald 43297dc5e69SMatthias Ringwaldpan_lwip_http_server: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${PAN_OBJ} ${LWIP_SRC} btstack_ring_buffer.o bnep_lwip.o pan_lwip_http_server.o 43397dc5e69SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 43497dc5e69SMatthias Ringwald 435bcf00d8fSMatthias Ringwald 4362769e469SMatthias Ringwaldgatt_browser.o: gatt_browser.h gatt_browser.c 4372769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out gatt_browser.h,$^) -o $@ 438bcf00d8fSMatthias Ringwald 4392769e469SMatthias Ringwaldgatt_browser: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} ${GATT_SERVER_OBJ} gatt_browser.o 440fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 44177aad125SMilanka Ringwald 4422769e469SMatthias Ringwald 4432769e469SMatthias Ringwaldgatt_battery_query.o: gatt_battery_query.h gatt_battery_query.c 4442769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out gatt_battery_query.h,$^) -o $@ 4452769e469SMatthias Ringwald 4462769e469SMatthias Ringwaldgatt_battery_query: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} ${GATT_SERVER_OBJ} gatt_battery_query.o 447fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 4482769e469SMatthias Ringwald 4492769e469SMatthias Ringwald 4502769e469SMatthias Ringwaldgatt_device_information_query.o: gatt_device_information_query.h gatt_device_information_query.c 4512769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out gatt_device_information_query.h,$^) -o $@ 4522769e469SMatthias Ringwald 4532769e469SMatthias Ringwaldgatt_device_information_query: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_CLIENT_OBJ} ${GATT_SERVER_OBJ} gatt_device_information_query.o 454fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 4552769e469SMatthias Ringwald 4562769e469SMatthias Ringwald 4572769e469SMatthias Ringwaldancs_client_demo.o: ancs_client_demo.h ancs_client_demo.c 4582769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out ancs_client_demo.h,$^) -o $@ 4592769e469SMatthias Ringwald 4602769e469SMatthias Ringwaldancs_client_demo: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${GATT_CLIENT_OBJ} ancs_client.o ancs_client_demo.o 461fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 4622769e469SMatthias Ringwald 463bcf00d8fSMatthias Ringwald 464bcf00d8fSMatthias Ringwaldled_counter: ${CORE_OBJ} ${COMMON_OBJ} led_counter.c 465bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 466bcf00d8fSMatthias Ringwald 467fedcc363SMatthias Ringwaldgap_le_advertisements: ${CORE_OBJ} ${COMMON_OBJ} gap_le_advertisements.c 468bcf00d8fSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 469bcf00d8fSMatthias Ringwald 470046d88ffSMatthias Ringwaldhsp_hs_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${CVSD_PLC_OBJ} wav_util.o sco_demo_util.o btstack_ring_buffer.o hsp_hs.o hsp_hs_demo.c 471486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 472bcf00d8fSMatthias Ringwald 473046d88ffSMatthias Ringwaldhsp_ag_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${CVSD_PLC_OBJ} wav_util.o sco_demo_util.o btstack_ring_buffer.o hsp_ag.o hsp_ag_demo.c 474486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 475fffdd288SMatthias Ringwald 476046d88ffSMatthias Ringwaldhfp_ag_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${CVSD_PLC_OBJ} wav_util.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_gsm_model.o hfp_ag.o hfp_ag_demo.c 477486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 478fffdd288SMatthias Ringwald 479046d88ffSMatthias Ringwaldhfp_hf_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${CVSD_PLC_OBJ} wav_util.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_hf.o hfp_hf_demo.c 480486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 481fffdd288SMatthias Ringwald 48205439aa6SMilanka Ringwaldhid_host_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} btstack_hid_parser.o hid_host.o hid_host_demo.o 4832d05904dSMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 4842d05904dSMatthias Ringwald 485a796c06fSMilanka Ringwaldhid_keyboard_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} btstack_ring_buffer.o hid_device.o btstack_hid_parser.o hid_keyboard_demo.o 486486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 4872fa56ea6SMatthias Ringwald 488a796c06fSMilanka Ringwaldhid_mouse_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} btstack_ring_buffer.o hid_device.o btstack_hid_parser.o hid_mouse_demo.o 489486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 490aa29f587SMatthias Ringwald 491046d88ffSMatthias Ringwalda2dp_source_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${AVDTP_OBJ} ${HXCMOD_PLAYER_OBJ} avrcp.o avrcp_controller.o avrcp_target.o a2dp_source_demo.c 492486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 49308c0d996SMatthias Ringwald 494*c44ec4a0SMatthias Ringwalda2dp_sink_demo: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${SBC_CODEC_OBJ} ${AVDTP_OBJ} avrcp.o avrcp_controller.o avrcp_target.o avrcp_cover_art_client.o obex_srm_client.o goep_client.o obex_parser.o obex_message_builder.o btstack_resample.o btstack_sample_rate_compensation.o a2dp_sink_demo.c 495486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 496486d2354SMatthias Ringwald 4975666fff4SMilanka Ringwaldavrcp_browsing_client: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ${SDP_CLIENT} ${AVRCP_OBJ} ${AVDTP_OBJ} avrcp_browsing_client.c 498f12a3722SMilanka Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 499f12a3722SMilanka Ringwald 500486d2354SMatthias Ringwalddut_mode_classic: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} dut_mode_classic.c 501486d2354SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 502f40f8caeSMatthias Ringwald 503284d66bcSMatthias Ringwaldle_credit_based_flow_control_mode_client: ${CORE_OBJ} ${COMMON_OBJ} le_credit_based_flow_control_mode_client.c 504e69f2530SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 5051add4db5SMatthias Ringwald 5062769e469SMatthias Ringwald 507284d66bcSMatthias Ringwaldle_credit_based_flow_control_mode_server.o: le_credit_based_flow_control_mode_server.h le_credit_based_flow_control_mode_server.c 508284d66bcSMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out le_credit_based_flow_control_mode_server.h,$^) -o $@ 5092769e469SMatthias Ringwald 510284d66bcSMatthias Ringwaldle_credit_based_flow_control_mode_server: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} le_credit_based_flow_control_mode_server.o 511fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 5122769e469SMatthias Ringwald 5131add4db5SMatthias Ringwald 514f8903005SMatthias Ringwaldmod_player: ${CORE_OBJ} ${COMMON_OBJ} ${HXCMOD_PLAYER_OBJ} btstack_audio.o mod_player.c 515f8903005SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 516f8903005SMatthias Ringwald 51769fa7fc6SMatthias Ringwaldsine_player: ${CORE_OBJ} ${COMMON_OBJ} btstack_audio.o sine_player.c 51869fa7fc6SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 51969fa7fc6SMatthias Ringwald 5209eddf5e8SMatthias Ringwaldaudio_duplex: ${CORE_OBJ} ${COMMON_OBJ} btstack_audio.o btstack_ring_buffer.o audio_duplex.c 5219eddf5e8SMatthias Ringwald ${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@ 5229eddf5e8SMatthias Ringwald 523ebdf3c68SMilanka Ringwald 5242769e469SMatthias Ringwaldnordic_spp_le_counter.o: nordic_spp_le_counter.h nordic_spp_le_counter.c 5252769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out nordic_spp_le_counter.h,$^) -o $@ 526ebdf3c68SMilanka Ringwald 5272769e469SMatthias Ringwaldnordic_spp_le_counter: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} nordic_spp_service_server.o nordic_spp_le_counter.o 528fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 529733ac1e8SMilanka Ringwald 5302769e469SMatthias Ringwald 5312769e469SMatthias Ringwaldnordic_spp_le_streamer.o: nordic_spp_le_streamer.h nordic_spp_le_streamer.c 5322769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out nordic_spp_le_streamer.h,$^) -o $@ 5332769e469SMatthias Ringwald 5342769e469SMatthias Ringwaldnordic_spp_le_streamer: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} nordic_spp_service_server.o nordic_spp_le_streamer.o 535fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 5362769e469SMatthias Ringwald 5372769e469SMatthias Ringwald 5382769e469SMatthias Ringwaldublox_spp_le_counter.o: ublox_spp_le_counter.h ublox_spp_le_counter.c 5392769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out ublox_spp_le_counter.h,$^) -o $@ 5402769e469SMatthias Ringwald 5412769e469SMatthias Ringwaldublox_spp_le_counter: ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} device_information_service_server.o ublox_spp_service_server.o ublox_spp_le_counter.o 542fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 5432769e469SMatthias Ringwald 5442769e469SMatthias Ringwald 5452769e469SMatthias Ringwaldmesh_node_demo.o: mesh_node_demo.h mesh_node_demo.c 5462769e469SMatthias Ringwald ${CC} ${CFLAGS} -c $(filter-out mesh_node_demo.h,$^) -o $@ 5472769e469SMatthias Ringwald 5482769e469SMatthias Ringwaldmesh_node_demo:${CORE_OBJ} ${COMMON_OBJ} ${MESH_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${SM_OBJ} mesh_node_demo.o 549fe776b3cSMatthias Ringwald ${CC} $^ ${LDFLAGS} -o $@ 550cf862b36SMatthias Ringwald 551bcf00d8fSMatthias Ringwaldclean: 552bdc352b1SMatthias Ringwald rm -f ${EXAMPLES} ${EXAMPLES_GATT_H_FILES} 553bf8e3fa8SMatthias Ringwald rm -f *.o *.out *.hex *.exe *.wav *.sbc 554bf8e3fa8SMatthias Ringwald rm -rf *.dSYM 555bcf00d8fSMatthias Ringwald rm -rf ${BTSTACK_ROOT}/src/*.o 556c8b300b9SMatthias Ringwald rm -rf ${BTSTACK_ROOT}/src/ble/*.o 557c8b300b9SMatthias Ringwald rm -rf ${BTSTACK_ROOT}/src/ble/gatt-service/*.o 558bdc352b1SMatthias Ringwald rm -rf ${BTSTACK_ROOT}/src/classic/*.o 559c8b300b9SMatthias Ringwald rm -rf ${BTSTACK_ROOT}/example/*.o 560