2016-02-22 19:46:07 +00:00
|
|
|
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
|
|
|
all: report sink
|
|
|
|
APPS=servreg-hack
|
2016-05-14 20:48:09 +00:00
|
|
|
CONTIKI=../../../..
|
2016-02-22 19:46:07 +00:00
|
|
|
|
|
|
|
ifdef WITH_COMPOWER
|
|
|
|
APPS+=powertrace
|
|
|
|
CFLAGS+= -DCONTIKIMAC_CONF_COMPOWER=1 -DWITH_COMPOWER=1 -DQUEUEBUF_CONF_NUM=4
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef SERVER_REPLY
|
|
|
|
CFLAGS+=-DSERVER_REPLY=$(SERVER_REPLY)
|
|
|
|
endif
|
|
|
|
ifdef PERIOD
|
|
|
|
CFLAGS+=-DPERIOD=$(PERIOD)
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
|
|
|
include $(CONTIKI)/Makefile.include
|