From fe3f7c20104944fd090d0581d83b3fbbc9d366a9 Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Mon, 9 Nov 2020 04:18:34 +0500 Subject: [PATCH 1/2] Makefile: Remove an obsolete switch. --- src/win/Makefile.mingw | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index c45de5a5f..04f151386 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -66,9 +66,6 @@ ifeq ($(DEV_BUILD), y) ifndef PAS16 PAS16 := n endif - ifndef PORTABLE3 - PORTABLE3 := y - endif ifndef PS1M2133 PS1M2133 := y endif @@ -160,9 +157,6 @@ else ifndef PAS16 PAS16 := n endif - ifndef PORTABLE3 - PORTABLE3 := n - endif ifndef PS1M2133 PS1M2133 := n endif @@ -564,10 +558,6 @@ OPTS += -DUSE_PAS16 DEVBROBJ += snd_pas16.o endif -ifeq ($(PORTABLE3), y) -OPTS += -DUSE_PORTABLE3 -endif - ifeq ($(PS1M2133), y) OPTS += -DUSE_PS1M2133 endif From 15a37256f621be93f7d713b61c13ac69d4a33569 Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Mon, 9 Nov 2020 04:16:09 +0500 Subject: [PATCH 2/2] Makefile: Use the Unix way instead of the DOS/Windows way of silencing output. --- src/win/Makefile.mingw | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index 04f151386..baf949c5c 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -875,15 +875,15 @@ else %.d: %.c $(wildcard $*.d) @echo $< - @$(CC) $(CFLAGS) $(DEPS) -E $< >NUL + @$(CC) $(CFLAGS) $(DEPS) -E $< >/dev/null %.d: %.cc $(wildcard $*.d) @echo $< - @$(CPP) $(CXXFLAGS) $(DEPS) -E $< >NUL + @$(CPP) $(CXXFLAGS) $(DEPS) -E $< >/dev/null %.d: %.cpp $(wildcard $*.d) @echo $< - @$(CPP) $(CXXFLAGS) $(DEPS) -E $< >NUL + @$(CPP) $(CXXFLAGS) $(DEPS) -E $< >/dev/null endif @@ -921,18 +921,18 @@ endif clean: @echo Cleaning objects.. - @-rm -f *.o 2>NUL - @-rm -f *.res 2>NUL + @-rm -f *.o 2>/dev/null + @-rm -f *.res 2>/dev/null clobber: clean @echo Cleaning executables.. - @-rm -f *.d 2>NUL - @-rm -f *.exe 2>NUL -# @-rm -f $(DEPFILE) 2>NUL + @-rm -f *.d 2>/dev/null + @-rm -f *.exe 2>/dev/null +# @-rm -f $(DEPFILE) 2>/dev/null ifneq ($(AUTODEP), y) depclean: - @-rm -f $(DEPFILE) 2>NUL + @-rm -f $(DEPFILE) 2>/dev/null @echo Creating dependencies.. @echo # Run "make depends" to re-create this file. >$(DEPFILE)