From a31dcba587fde6066c01fd2f32fe345c10d978e3 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Wed, 6 May 2020 21:19:50 +0100 Subject: [PATCH] coap-client: Rename client.c to coap-client.c Keep the examples source names and executables in the same form for consistency. --- CMakeLists.txt | 2 +- examples/Makefile.am | 2 +- examples/{client.c => coap-client.c} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename examples/{client.c => coap-client.c} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index efb5d776..f70c972a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -537,7 +537,7 @@ endif() # if(ENABLE_EXAMPLES) - add_executable(coap-client ${CMAKE_CURRENT_LIST_DIR}/examples/client.c) + add_executable(coap-client ${CMAKE_CURRENT_LIST_DIR}/examples/coap-client.c) target_link_libraries(coap-client PUBLIC ${PROJECT_NAME}::${COAP_LIBRARY_NAME}) add_executable(coap-rd ${CMAKE_CURRENT_LIST_DIR}/examples/coap-rd.c) diff --git a/examples/Makefile.am b/examples/Makefile.am index c34750bd..4b5bcb8b 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -17,7 +17,7 @@ AM_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \ bin_PROGRAMS = coap-client coap-server coap-rd check_PROGRAMS = coap-etsi_iot_01 coap-tiny -coap_client_SOURCES = client.c +coap_client_SOURCES = coap-client.c coap_client_LDADD = $(DTLS_LIBS) $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la coap_server_SOURCES = coap-server.c diff --git a/examples/client.c b/examples/coap-client.c similarity index 100% rename from examples/client.c rename to examples/coap-client.c