summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compile/win32/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile/win32/Makefile b/compile/win32/Makefile
index baeb1b0..6b29fc4 100644
--- a/compile/win32/Makefile
+++ b/compile/win32/Makefile
@@ -19,7 +19,7 @@ INCLUDES = \
-I../../MSVC/regex -I../../MSVC/readline -I../../MSVC/getopt -I../../MSVC/iconv -I../../MSVC \
-I../..
-CPPFLAGS = $(INCLUDES) -march=i686 -DSTDC_HEADERS -DREADLINE_STATIC -DLIBICONV_PLUG -DNO_HFILE -fexceptions
+CPPFLAGS = $(INCLUDES) -O4 -march=i686 -DSTDC_HEADERS -DREADLINE_STATIC -DLIBICONV_PLUG -DNO_HFILE -fexceptions
LDFLAGS = -O4 `sdl-config --libs`
@@ -141,6 +141,7 @@ Dalos-static: $(DALOS_OBJECTS)
cd-tool.exe: $(CD_TOOL_OBJECTS)
$(LD) -o cd-tool.exe $(CD_TOOL_OBJECTS) ../../libreadline-static.a -mconsole
$(STRIP) cd-tool.exe
+ upx-nrv -9 cd-tool.exe
cd-tool-static: $(CD_TOOL_OBJECTS)
$(LD) $(LDFLAGS) -o cd-tool-static $(CD_TOOL_OBJECTS) -lreadline -lncurses -static