2014-06-25 03:19:39 +02:00
|
|
|
# name of your application
|
2014-05-05 21:54:10 +02:00
|
|
|
APPLICATION = riot_and_cpp
|
2014-06-25 03:19:39 +02:00
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
2014-05-05 21:54:10 +02:00
|
|
|
BOARD ?= native
|
2014-06-25 03:19:39 +02:00
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
2014-05-05 21:54:10 +02:00
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
2014-06-25 03:19:39 +02:00
|
|
|
|
|
|
|
# Uncomment these lines if you want to use platform support from external
|
|
|
|
# repositories:
|
2014-05-05 21:54:10 +02:00
|
|
|
#RIOTCPU ?= $(CURDIR)/../../../thirdparty_cpu
|
2020-04-15 22:27:09 +02:00
|
|
|
#EXTERNAL_BOARD_DIRS ?= $(CURDIR)/../../../thirdparty_boards
|
2014-06-25 03:19:39 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2014-08-01 18:48:16 +02:00
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
2014-06-25 03:19:39 +02:00
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
2017-11-19 14:12:25 +01:00
|
|
|
DEVELHELP ?= 1
|
2014-06-25 03:19:39 +02:00
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
2014-05-05 21:54:10 +02:00
|
|
|
QUIET ?= 1
|
2014-06-25 03:19:39 +02:00
|
|
|
|
2014-11-11 09:52:06 +01:00
|
|
|
# Features required
|
2020-07-24 12:35:35 +02:00
|
|
|
FEATURES_REQUIRED += cpp # basic C++ support
|
|
|
|
FEATURES_REQUIRED += libstdcpp # libstdc++ support (for #include <cstdio>)
|
2014-07-03 10:36:46 +02:00
|
|
|
|
2014-06-25 03:19:39 +02:00
|
|
|
# If you want to add some extra flags when compile c++ files, add these flags
|
|
|
|
# to CXXEXFLAGS variable
|
|
|
|
CXXEXFLAGS +=
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|