2010-04-30 15:52:48 +00:00
|
|
|
all: udp-client udp-server
|
2010-05-04 14:40:52 +00:00
|
|
|
CONTIKI=../../..
|
2010-04-30 15:52:48 +00:00
|
|
|
|
2015-08-20 15:13:46 +00:00
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
2011-10-13 13:09:40 +00:00
|
|
|
ifdef WITH_COMPOWER
|
|
|
|
APPS+=powertrace
|
2017-05-13 11:09:58 +00:00
|
|
|
CFLAGS+= -DWITH_COMPOWER=1 -DQUEUEBUF_CONF_NUM=4
|
2011-10-13 13:09:40 +00:00
|
|
|
endif
|
|
|
|
|
2011-08-09 05:02:16 +00:00
|
|
|
ifdef SERVER_REPLY
|
|
|
|
CFLAGS+=-DSERVER_REPLY=$(SERVER_REPLY)
|
|
|
|
endif
|
|
|
|
ifdef PERIOD
|
|
|
|
CFLAGS+=-DPERIOD=$(PERIOD)
|
|
|
|
endif
|
|
|
|
|
2016-04-25 12:55:18 +00:00
|
|
|
ifeq ($(MAKE_WITH_NON_STORING),1)
|
|
|
|
CFLAGS += -DWITH_NON_STORING=1
|
|
|
|
endif
|
|
|
|
|
2014-11-12 09:18:29 +00:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2010-04-30 15:52:48 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|