summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/Makefile.mingw3
-rw-r--r--config/Makefile.msvc3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/Makefile.mingw b/config/Makefile.mingw
index 00adcd30a..8861b104a 100644
--- a/config/Makefile.mingw
+++ b/config/Makefile.mingw
@@ -72,6 +72,9 @@ MKLIB=rm -f $(1); ar rcs $(1) $(2)
### Canonicalize the name of a system library
SYSLIB=-l$(1)
+### Specify the name of the generated executable when calling the C compiler
+OUTPUTEXE=-o $(1)
+
### The ranlib command
RANLIBCMD=ranlib
diff --git a/config/Makefile.msvc b/config/Makefile.msvc
index e4dab5a6b..4e3a5e013 100644
--- a/config/Makefile.msvc
+++ b/config/Makefile.msvc
@@ -72,6 +72,9 @@ MKLIB=link /lib /nologo /debugtype:CV /out:$(1) $(2)
### Canonicalize the name of a system library
SYSLIB=$(1).lib
+### Specify the name of the generated executable when calling the C compiler
+OUTPUTEXE=/Fe$(1)
+
### The ranlib command
RANLIBCMD=