2010-04-30 15:52:48 +00:00
|
|
|
all: udp-client udp-server
|
2010-06-15 19:02:40 +00:00
|
|
|
APPS=servreg-hack
|
2010-05-04 14:40:52 +00:00
|
|
|
CONTIKI=../../..
|
2010-04-30 15:52:48 +00:00
|
|
|
|
|
|
|
WITH_UIP6=1
|
|
|
|
UIP_CONF_IPV6=1
|
2011-08-15 18:45:44 +00:00
|
|
|
CFLAGS+= -DUIP_CONF_IPV6_RPL
|
2010-04-30 15:52:48 +00:00
|
|
|
|
2011-10-13 13:09:40 +00:00
|
|
|
ifdef WITH_COMPOWER
|
|
|
|
APPS+=powertrace
|
|
|
|
CFLAGS+= -DCONTIKIMAC_CONF_COMPOWER=1 -DWITH_COMPOWER=1 -DQUEUEBUF_CONF_NUM=4
|
|
|
|
endif
|
|
|
|
|
2011-08-09 05:02:16 +00:00
|
|
|
ifdef SERVER_REPLY
|
|
|
|
CFLAGS+=-DSERVER_REPLY=$(SERVER_REPLY)
|
|
|
|
endif
|
|
|
|
ifdef PERIOD
|
|
|
|
CFLAGS+=-DPERIOD=$(PERIOD)
|
|
|
|
endif
|
|
|
|
|
2010-04-30 15:52:48 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|