From: Lady Date: Thu, 11 Jul 2024 01:45:04 +0000 (-0400) Subject: Support multiple SRCDIR in INCLUDEDIR default X-Git-Tag: 0.9.6~1 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/93324cf0d523de47d46d25d1a087fc1639af19b9?hp=c31f03fa8cf92cdd755b3a0f42e5b7b0cdd54d75 Support multiple SRCDIR in INCLUDEDIR default If multiple `SRCDIR`s are provided, the default `INCLUDEDIR` needs to append `/includes` to each, not simply the last one. --- diff --git a/GNUmakefile b/GNUmakefile index 952aebd..5237a2d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -149,7 +149,7 @@ SRCDIR := sources # Multiple directories can be given so long as files with the same name do not exist in each. # # These can be inside of `SRCDIR´ directories if desired. -INCLUDEDIR := $(SRCDIR)/includes +INCLUDEDIR := $(foreach dir,$(SRCDIR),$(dir)/includes) # The directory in which to generate temporary buildfiles. #