DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 05d91f5852f4bccfd2bce1d4d2e2b3036e29db03
parent 168e8a5333c52175a7e94016b3ef994c7b253aa9
Author: falkTX <falktx@falktx.com>
Date:   Sat, 21 Aug 2021 11:36:41 +0100

Protect against multiple inclusion of Makefile.base.mk

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
MMakefile.base.mk | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/Makefile.base.mk b/Makefile.base.mk @@ -9,6 +9,13 @@ CC ?= gcc CXX ?= g++ # --------------------------------------------------------------------------------------------------------------------- +# Protect against multiple inclusion + +ifneq ($(DPF_MAKEFILE_BASE_INCLUDED),true) + +DPF_MAKEFILE_BASE_INCLUDED = true + +# --------------------------------------------------------------------------------------------------------------------- # Auto-detect OS if not defined TARGET_MACHINE := $(shell $(CC) -dumpmachine) @@ -487,3 +494,8 @@ features: $(call print_available,HAVE_XRANDR) # --------------------------------------------------------------------------------------------------------------------- +# Protect against multiple inclusion + +endif # DPF_MAKEFILE_BASE_INCLUDED + +# ---------------------------------------------------------------------------------------------------------------------