summaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorpixel <pixel>2006-07-18 07:09:25 +0000
committerpixel <pixel>2006-07-18 07:09:25 +0000
commit2faeda63ad30d57c7c36fbc17ce5fd8fbdd21a17 (patch)
tree0c2dcedd4ec841da44f503bd87a052da9a23be8e /compile
parent32c16a4e247729b0435202bca146647bf7c1d616 (diff)
Having better optimisation.
Diffstat (limited to 'compile')
-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