mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-28 05:31:21 +03:00
This is compiler version dependent when doing static inline expansions. examples/client.c: Make hex2char() just static. examples/etsi_iot_01.c: Make coap_add_payload() just static. include/coap2/address.h: src/address.c: Make coap_address_init() an actual function. libcoap-2.map: libcoap-2.sym: Expose coap_address_init() as a function. Makefile.libcoap: Include address.c as one of the libcoap files for Contiki. examples/lwip/Makefile: Include address.o as one of the libcoap files for LwIP.
8 lines
327 B
Makefile
8 lines
327 B
Makefile
libcoap_src = pdu.c net.c coap_debug.c encode.c uri.c subscribe.c resource.c str.c option.c async.c block.c mem.c coap_io.c coap_session.c coap_notls.c coap_hashkey.c address.c
|
|
|
|
libcoap_dir := $(filter %libcoap,$(APPDS))
|
|
vpath %c $(libcoap_dir)/src
|
|
|
|
# set include path for coap sources
|
|
CFLAGS += -I$(libcoap_dir)/include/coap2
|