From 6b9e627f2bd894850c3c868fd44bf2b2f48b5866 Mon Sep 17 00:00:00 2001 From: Willem Date: Sun, 30 Jun 2024 02:44:32 +0200 Subject: [PATCH] Search includes from variable. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77cd3b7..083d675 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ PATH_BIN := bin PATH_SRC := src rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) -MK_MODULES := $(call rwildcard, src, */0module.mk) +MK_MODULES := $(call rwildcard, $(PATH_SRC), */0module.mk) BUILD_ALL := "Use 'make help' for possible targets." BUILD_HELP := "Use one of the following build targets;"