Fixed Contiki-specific Makefile

This commit is contained in:
Olaf Bergmann committed 2015-03-03 12:30:42 +01:00
1 parent 9d673c8cfd
commit 8d664dd475
1 file changed
+6 -7
+6 -7
View File
@@ -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