From dd04939e08b82d878e4091a56bf1e443b70c92cd Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Sun, 11 Dec 2011 15:46:27 +0100 Subject: [PATCH] split Makefile exclude debug output to save space --- Makefile | 4 +--- Makefile.libcoap | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 Makefile.libcoap diff --git a/Makefile b/Makefile index f2c08cd2..cb8568fa 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,8 @@ endif CFLAGS += -ffunction-sections LDFLAGS += -Wl,--gc-sections,--undefined=_reset_vector__,--undefined=InterruptVectors,--undefined=_copy_data_init__,--undefined=_clear_bss_init__,--undefined=_end_of_init__ -CFLAGS += -DUIP_CONF_TCP=0 -DUIP_CONF_BYTE_ORDER=1234 +CFLAGS += -DUIP_CONF_TCP=0 -DSHORT_ERROR_RESPONSE -DNDEBUG APPS += libcoap -PROJECT_SOURCEFILES = pdu.c net.c debug.c encode.c uri.c coap_list.c resource.c hashkey.c str.c option.c async.c - include $(CONTIKI)/Makefile.include diff --git a/Makefile.libcoap b/Makefile.libcoap new file mode 100644 index 00000000..04aa021d --- /dev/null +++ b/Makefile.libcoap @@ -0,0 +1 @@ +libcoap_src = pdu.c net.c debug.c encode.c uri.c coap_list.c resource.c hashkey.c str.c option.c async.c