From 96ad15696476a984dc723ca6efff1d15dceb6539 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 7 May 2023 17:29:27 +0200 Subject: add special Makefile template --- templates/Makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/Makefile (limited to 'templates') diff --git a/templates/Makefile b/templates/Makefile new file mode 100644 index 00000000..9017ea47 --- /dev/null +++ b/templates/Makefile @@ -0,0 +1,3 @@ +# Include the top level common.mk file +COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk') +include $(COMMON_MK) -- cgit v1.2.3