shithub: cstory

Download patch

ref: 3a40e9eb363b8c8955f79f15b982f5cb13c6dc3b
parent: 7a5eb3993c0663b382d51a9ae8723ed43ca6f538
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Sep 4 10:01:51 EDT 2019

Add .exe file extensions to the Makefile

32-bit MinGW-w64 has this stupid thing where the Makefile can't
detect that executable depedencies may end with '.exe', causing it to
regenerate them every time it's ran.

--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,12 @@
 ifeq ($(RELEASE), 1)
 	CXXFLAGS = -O3
 	LDFLAGS = -s
-	FILENAME_DEF = CSE2
-	DOCONFIG_FILENAME_DEF = DoConfig
+	FILENAME_DEF = CSE2.exe
+	DOCONFIG_FILENAME_DEF = DoConfig.exe
 else
 	CXXFLAGS = -Og -ggdb3
-	FILENAME_DEF = CSE2_debug
-	DOCONFIG_FILENAME_DEF = DoConfig_debug
+	FILENAME_DEF = CSE2_debug.exe
+	DOCONFIG_FILENAME_DEF = DoConfig_debug.exe
 endif
 
 ifeq ($(JAPANESE), 1)