1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/riot_and_cpp/Makefile
Gaëtan Harter 387da5214f
examples: update documentation to use 'BOARDSDIR'
Replace uses of 'RIOTBOARD' by 'BOARDSDIR' in examples.
2019-12-16 15:35:05 +01:00

38 lines
1.1 KiB
Makefile

# name of your application
APPLICATION = riot_and_cpp
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
# Uncomment these lines if you want to use platform support from external
# repositories:
#RIOTCPU ?= $(CURDIR)/../../../thirdparty_cpu
#BOARDSDIR ?= $(CURDIR)/../../../thirdparty_boards
# Uncomment this to enable scheduler statistics for ps:
#CFLAGS += -DSCHEDSTATISTICS
# 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
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
DEVELHELP ?= 1
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
# Features required
FEATURES_REQUIRED += cpp
# If you want to add some extra flags when compile c++ files, add these flags
# to CXXEXFLAGS variable
CXXEXFLAGS +=
include $(RIOTBASE)/Makefile.include