[iortcw] 48/95: All: Makefile: Use generic windres if specific one is not present

Simon McVittie smcv at debian.org
Fri Sep 8 10:42:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 51d10718686f1dfb0ee98c084f7a4c033403061b
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Mon Mar 27 07:34:48 2017 -0400

    All: Makefile: Use generic windres if specific one is not present
---
 MP/Makefile | 8 +++++---
 SP/Makefile | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/MP/Makefile b/MP/Makefile
index 0a07c9e..8ebfeba 100644
--- a/MP/Makefile
+++ b/MP/Makefile
@@ -632,11 +632,13 @@ ifdef MINGW
       CXX=g++
     endif
 
-    ifndef WINDRES
-      WINDRES=windres
-    endif
   endif
 
+  # using generic windres if specific one is not present
+  ifndef WINDRES
+    WINDRES=windres
+   endif
+
   ifeq ($(CC),)
     $(error Cannot find a suitable cross compiler for $(PLATFORM))
   endif
diff --git a/SP/Makefile b/SP/Makefile
index fd0a9eb..8054f5f 100644
--- a/SP/Makefile
+++ b/SP/Makefile
@@ -621,11 +621,13 @@ ifdef MINGW
       CXX=g++
     endif
 
-    ifndef WINDRES
-      WINDRES=windres
-    endif
   endif
 
+  # using generic windres if specific one is not present
+  ifndef WINDRES
+    WINDRES=windres
+   endif
+
   ifeq ($(CC),)
     $(error Cannot find a suitable cross compiler for $(PLATFORM))
   endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list