From 830cd025b199fab165a378884fb5b4373799bde9 Mon Sep 17 00:00:00 2001 From: Tanzinul Islam Date: Mon, 16 Nov 2020 22:52:44 +0000 Subject: Ensure at least one command if no dependencies C++Builder's `make.exe` complains if a target has no dependencies (e.g. after variable expansion) and no lines of commands. Ensure there is a blank command line if the dependency list is entirely made of variables. Reviewed-by: Richard Levitte Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/13540) --- Configurations/windows-makefile.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Configurations') diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 73ddcc8bd5..51b29515a7 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -388,11 +388,15 @@ PROCESSOR= {- $config{processor} -} build_docs: build_html_docs build_html_docs: $(HTMLDOCS1) $(HTMLDOCS3) $(HTMLDOCS5) $(HTMLDOCS7) - + @ build_generated: $(GENERATED_MANDATORY) + @ build_libs_nodep: $(LIBS) {- join(" ",map { platform->sharedlib_import($_) // () } @{$unified_info{libraries}}) -} + @ build_modules_nodep: $(MODULES) + @ build_programs_nodep: $(PROGRAMS) $(SCRIPTS) + @ # Kept around for backward compatibility build_apps build_tests: build_programs -- cgit v1.2.3