summaryrefslogtreecommitdiff
path: root/ext/miniupnpc/mingw32make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ext/miniupnpc/mingw32make.bat')
-rw-r--r--ext/miniupnpc/mingw32make.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/miniupnpc/mingw32make.bat b/ext/miniupnpc/mingw32make.bat
new file mode 100644
index 00000000..c5d3cc4f
--- /dev/null
+++ b/ext/miniupnpc/mingw32make.bat
@@ -0,0 +1,8 @@
+@mingw32-make -f Makefile.mingw %1
+@if errorlevel 1 goto end
+@if not exist upnpc-static.exe goto end
+@strip upnpc-static.exe
+@upx --best upnpc-static.exe
+@strip upnpc-shared.exe
+@upx --best upnpc-shared.exe
+:end