mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
22 lines
390 B
Makefile
22 lines
390 B
Makefile
all: udp-client udp-server
|
|
APPS=servreg-hack
|
|
CONTIKI=../../..
|
|
|
|
WITH_UIP6=1
|
|
UIP_CONF_IPV6=1
|
|
CFLAGS+= -DUIP_CONF_IPV6_RPL
|
|
|
|
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
|
|
|
|
include $(CONTIKI)/Makefile.include
|