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