2014-02-10 15:28:55 +01:00
|
|
|
# name of your application
|
2014-01-06 10:10:47 +01:00
|
|
|
export PROJECT = ccn-lite-client
|
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# If no BOARD is found in the environment, use this default:
|
2014-01-13 11:05:52 +01:00
|
|
|
export BOARD ?= native
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
2014-01-15 17:26:10 +01:00
|
|
|
export RIOTBASE ?= $(CURDIR)/../..
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:05:52 +01:00
|
|
|
# Uncomment these lines if you want to use platform support from external
|
|
|
|
# repositories:
|
|
|
|
#export RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu
|
|
|
|
#export RIOTBOARD ?= $(CURDIR)/../../RIOT/thirdparty_boards
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:05:52 +01:00
|
|
|
# Uncomment this to enable scheduler statistics for ps:
|
2014-01-06 10:10:47 +01:00
|
|
|
#CFLAGS += -DSCHEDSTATISTICS
|
|
|
|
|
2014-02-08 19:42:54 +01:00
|
|
|
# If you want to use native with valgrind, you should recompile native
|
|
|
|
# with the target all-valgrind instead of all:
|
|
|
|
# make -B clean all-valgrind
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:05:52 +01:00
|
|
|
# Uncomment this to enable code in RIOT that does safety checking
|
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
|
|
|
#CFLAGS += -DDEVELHELP
|
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
export QUIET ?= 1
|
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# Modules to include:
|
2014-01-06 10:10:47 +01:00
|
|
|
|
|
|
|
USEMODULE += config
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
USEMODULE += posix
|
|
|
|
USEMODULE += ps
|
|
|
|
USEMODULE += auto_init
|
|
|
|
USEMODULE += hwtimer
|
|
|
|
|
|
|
|
USEMODULE += transceiver
|
|
|
|
ifeq ($(BOARD),msba2)
|
|
|
|
USEMODULE += cc110x_ng
|
|
|
|
else ifeq ($(BOARD),native)
|
|
|
|
USEMODULE += nativenet
|
|
|
|
endif
|
|
|
|
|
|
|
|
USEMODULE += rtc
|
|
|
|
USEMODULE += crypto_sha256
|
|
|
|
USEMODULE += ccn_lite
|
|
|
|
USEMODULE += ccn_lite_client
|
|
|
|
|
2014-02-06 13:18:25 +01:00
|
|
|
export INCLUDES = -I$(RIOTBASE)/sys/net/include
|
2014-01-06 10:10:47 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|