diff --git a/Makefile b/Makefile index ac95cbde4b..daf603d18f 100755 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ help_usage: @echo clean, clean_all: Clean output from previous build for all available languages \(won\'t clean third party\). @echo detect, detect_all: Show variables used to build OR-Tools for all available languages. ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.cpp.mk b/makefiles/Makefile.cpp.mk index 3eb4bfe2f3..9d64bdd346 100755 --- a/makefiles/Makefile.cpp.mk +++ b/makefiles/Makefile.cpp.mk @@ -4,7 +4,7 @@ help_cc: @echo Use one of the following C++ targets: ifeq ($(SYSTEM),win) @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.cpp.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( else @grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.cpp.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t20 @echo @@ -671,7 +671,7 @@ detect_cc: @echo OR_TOOLS_LD_FLAGS = $(OR_TOOLS_LD_FLAGS) @echo DEPENDENCIES_LNK = $(DEPENDENCIES_LNK) ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.csharp.mk b/makefiles/Makefile.csharp.mk index 0156dc9885..b1a49ca073 100755 --- a/makefiles/Makefile.csharp.mk +++ b/makefiles/Makefile.csharp.mk @@ -4,7 +4,7 @@ help_csharp: @echo Use one of the following C# targets: ifeq ($(SYSTEM),win) @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.csharp.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( else @grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.csharp.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t20 @echo @@ -763,7 +763,7 @@ endif @echo NUGET_COMPILER = $(NUGET_COMPILER) @echo NUGET_EXECUTABLE = "$(NUGET_EXECUTABLE)" ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.fsharp.mk b/makefiles/Makefile.fsharp.mk index 0ea991fb18..83e120283e 100644 --- a/makefiles/Makefile.fsharp.mk +++ b/makefiles/Makefile.fsharp.mk @@ -4,7 +4,7 @@ help_fsharp: @echo Use one of the following F# targets: ifeq ($(SYSTEM),win) @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.fsharp.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( else @grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.fsharp.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t20 @echo @@ -71,7 +71,7 @@ endif @echo FSHARP_COMPILER = $(FSHARP_COMPILER) @echo FSHARP_EXECUTABLE = "$(FSHARP_EXECUTABLE)" ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.java.mk b/makefiles/Makefile.java.mk index d291e8983e..6068874a5c 100755 --- a/makefiles/Makefile.java.mk +++ b/makefiles/Makefile.java.mk @@ -4,7 +4,7 @@ help_java: @echo Use one of the following Java targets: ifeq ($(SYSTEM),win) @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.java.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( else @grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.java.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t24 @echo @@ -427,7 +427,7 @@ detect_java: @echo JAR_BIN = $(JAR_BIN) @echo JNIFLAGS = $(JNIFLAGS) ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.port.mk b/makefiles/Makefile.port.mk index d558f1fc24..24ace67320 100755 --- a/makefiles/Makefile.port.mk +++ b/makefiles/Makefile.port.mk @@ -246,7 +246,7 @@ endif @echo SWIG_BINARY = $(SWIG_BINARY) @echo SWIG_INC = $(SWIG_INC) ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.python.mk b/makefiles/Makefile.python.mk index 5bc27be1c3..5d83df8000 100755 --- a/makefiles/Makefile.python.mk +++ b/makefiles/Makefile.python.mk @@ -4,7 +4,7 @@ help_python: @echo Use one of the following Python targets: ifeq ($(SYSTEM),win) @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.python.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( else @grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.python.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t24 @echo @@ -461,7 +461,7 @@ endif @echo PYTHON_LNK = $(PYTHON_LNK) @echo SWIG_PYTHON3_FLAG = $(SWIG_PYTHON3_FLAG) ifeq ($(SYSTEM),win) - @echo. + @echo off & echo( else @echo endif diff --git a/makefiles/Makefile.third_party.win.mk b/makefiles/Makefile.third_party.win.mk index 068a71af6d..8122ab3689 100644 --- a/makefiles/Makefile.third_party.win.mk +++ b/makefiles/Makefile.third_party.win.mk @@ -2,7 +2,7 @@ help_third_party: @echo Use one of the following Prerequisite targets: @tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.third_party.win.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" - @echo. + @echo off & echo( # tags of dependencies to checkout. GFLAGS_TAG = 2.2.1