coap-client: Rename client.c to coap-client.c

Keep the examples source names and executables in the same form
for consistency.
This commit is contained in:
Jon Shallow committed 2021-02-26 14:21:12 +00:00
1 parent 8770152571
commit a31dcba587
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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
File renamed without changes.