1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/flatbuffers/Makefile.include
Alexandre Abadie 21c9acbd6b
pkg/flatbuffers: declare module as pseudomodule
This package is only use for its headers so there's no module to build.
2020-06-14 22:20:38 +02:00

15 lines
371 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/flatbuffers/include
FLATC ?= flatc
ifneq (0,$(shell which flatc 2>&1 > /dev/null ; 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