From 22d12bc99b2e325afb32244b516a0b9f1d53ac3c Mon Sep 17 00:00:00 2001 From: midipix Date: May 23 2021 16:42:13 +0000 Subject: build system: configure: support project-specific make-file templates. --- diff --git a/configure b/configure index d7c5121..59c3bc9 100755 --- a/configure +++ b/configure @@ -804,6 +804,12 @@ config_custom() eval config_custom_cfgdefs "$mb_custom_cfgdefs_args" output_section_break + + if [ -f "$mb_project_dir/project/config/Makefile.in" ]; then + config_copy "$mb_project_dir/project/config/Makefile.in" + mv $mb_pwd/Makefile.tmp Makefile + fi + config_copy fi