1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/rpl_udp/Makefile
2014-01-06 10:10:47 +01:00

36 lines
758 B
Makefile

# name of your project
export PROJECT = rpl_udp
# for easy switching of boards
ifeq ($(strip $(BOARD)),)
export BOARD = native
endif
# get rid of the mandatory RPL warning
CFLAGS += "-Wno-cpp"
# this has to be the absolute path of the RIOT-base dir
export RIOTBASE =$(CURDIR)/../..
## Modules to include.
USEMODULE += auto_init
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += uart0
USEMODULE += posix
USEMODULE += ps
USEMODULE += vtimer
ifeq ($(strip $(BOARD)),native)
USEMODULE += nativenet
else
USEMODULE += cc110x
endif
USEMODULE += sixlowpan
USEMODULE += rpl
USEMODULE += destiny
export INCLUDES += -I$(RIOTBASE)/sys/net/include -I$(RIOTBASE)/sys/net/routing/rpl -I$(RIOTBASE)/drivers/cc110x
include $(RIOTBASE)/Makefile.include