2010-04-30 17:52:48 +02:00
|
|
|
all: udp-client udp-server
|
2010-05-04 16:40:52 +02:00
|
|
|
CONTIKI=../../..
|
2010-04-30 17:52:48 +02:00
|
|
|
|
2015-08-20 17:13:46 +02:00
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
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
|
|
|
|
|
2016-04-25 14:55:18 +02:00
|
|
|
ifeq ($(MAKE_WITH_NON_STORING),1)
|
|
|
|
CFLAGS += -DWITH_NON_STORING=1
|
|
|
|
endif
|
|
|
|
|
2014-11-12 10:18:29 +01:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2010-04-30 17:52:48 +02:00
|
|
|
include $(CONTIKI)/Makefile.include
|