mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 00:15:49 +03:00
This change introduces a new subtree in the library's directory structure. Platform-specific code now should be placed into the corresponding directory in src/platform/. To illustrate this, prng.h has been split into three distinct files, one for each platform (contiki, lwip, posix) and moved into the respective subdirectory.
8 lines
345 B
Makefile
8 lines
345 B
Makefile
libcoap_src = pdu.c net.c debug.c encode.c uri.c subscribe.c resource.c hashkey.c str.c option.c async.c block.c mem.c coap_io.c prng.c
|
|
|
|
libcoap_dir := $(filter %libcoap,$(APPDS))
|
|
vpath %c $(libcoap_dir)/src $(libcoap_dir)/src/platform/contiki
|
|
|
|
# set include path for coap sources
|
|
CFLAGS += -I$(libcoap_dir)/include/coap -DCOAP_RESOURCES_NOHASH
|