1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00
RIOT/pkg/flatbuffers/Makefile.include
chrysn 648e014184 makefiles: Sort >/dev/null and 2>&1
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).
2021-08-24 14:41:54 +02:00

15 lines
371 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/flatbuffers/include
FLATC ?= flatc
ifneq (0,$(shell which flatc > /dev/null 2>&1 ; echo $$?))
FLATC = $(RIOTTOOLS)/flatc/flatc
$(call target-export-variables,all,FLATC)
endif
# This module requires cpp11 support
CXXEXFLAGS += -std=c++11
# This package is a header only package, so there's nothing to build
PSEUDOMODULES += flatbuffers