diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-07 17:29:27 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-07 17:29:27 +0200 |
| commit | 96ad15696476a984dc723ca6efff1d15dceb6539 (patch) | |
| tree | 81f2a07a0694ad254be58ee23332b49d86d8c049 | |
| parent | 28c1364820e3758c3af45e5d8b0d75f7b8cf60a3 (diff) | |
| download | unterricht-96ad15696476a984dc723ca6efff1d15dceb6539.tar.gz unterricht-96ad15696476a984dc723ca6efff1d15dceb6539.zip | |
add special Makefile template
| -rw-r--r-- | templates/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
