mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-16 04:54:55 +03:00
Fixed Contiki-specific Makefile
This commit is contained in:
1 parent
9d673c8cfd
commit
8d664dd475
1 file changed
+6
-7
@@ -1,3 +1,5 @@
|
||||
NODE_ADDR?=0x1000
|
||||
|
||||
########################################################################
|
||||
# platform-specific options
|
||||
|
||||
@@ -18,18 +20,15 @@ endif
|
||||
# usually, you should not need changing anything beyond this line
|
||||
########################################################################
|
||||
|
||||
all: coap-server #coap-client
|
||||
$(MAKE) $(MAKEFLAGS) ROLE=server coap-server
|
||||
# $(MAKE) $(MAKEFLAGS) clean
|
||||
# $(MAKE) $(MAKEFLAGS) ROLE=client coap-client
|
||||
all: server
|
||||
|
||||
CONTIKI=../..
|
||||
CONTIKI=../../../..
|
||||
#CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
||||
|
||||
CFLAGS += -DCOAP_MAX_BLOCK_SZX=1
|
||||
CFLAGS += -DNODE_ADDR=$(NODE_ADDR) -DCOAP_MAX_BLOCK_SZX=1
|
||||
|
||||
ifeq ($(UIP_CONF_IPV6_RPL),0)
|
||||
CFLAGS += -DUIP_CONF_IPV6_RPL=0 -DRPL_BORDER_ROUTER=0
|
||||
CFLAGS += -DUIP_CONF_IPV6_RPL=0 -DRPL_BORDER_ROUTER=0 -DUIP_CONF_ROUTER=0
|
||||
endif
|
||||
|
||||
WITH_UIP6=1
|
||||
|
||||
Reference in new issue
Block a user