mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
582 B
Makefile
19 lines
582 B
Makefile
RIOT_PP_SUCCESSOR_MAX ?= 9999
|
|
|
|
PSEUDOMODULES += preprocessor_successor
|
|
|
|
USEMODULE_INCLUDES_preprocessor := $(BINDIR)/preprocessor
|
|
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_preprocessor)
|
|
|
|
RIOT_GENERATE_PP_HEADERS :=
|
|
|
|
ifneq (,$(filter preprocessor_successor,$(USEMODULE)))
|
|
RIOT_GENERATE_PP_HEADERS += $(BINDIR)/preprocessor/preprocessor_successor.h
|
|
endif
|
|
|
|
BUILDDEPS += $(RIOT_GENERATE_PP_HEADERS)
|
|
|
|
$(BINDIR)/preprocessor/preprocessor_successor.h:
|
|
@mkdir -p '$(dir $@)'
|
|
$(Q)'$(RIOTTOOLS)/generate_pp_successor_header/generate_pp_successor_header.sh' $(RIOT_PP_SUCCESSOR_MAX) > $@
|