From e0cb24864e39f6e7ca2e959f529e66dd4675ed3d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 16 Feb 2010 21:04:41 +0300 Subject: windows gcc options --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6eb5adf..1226b60 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: - i686-pc-mingw32-g++ -c -DBUILD_DLL -D UNICODE -D _UNICODE *.cpp -I../../include -I/usr/i686-pc-mingw32/usr/include -I. -w -march=i686 -msse -O2 -pipe + i686-pc-mingw32-g++ -c -DBUILD_DLL -D UNICODE -D _UNICODE *.cpp -I../../include -I/usr/i686-pc-mingw32/usr/include -I. -w -mwin32 -mwindows -mdll -march=i686 -msse -O2 -pipe i686-pc-mingw32-windres -i stopspam.rc -o resources.o - i686-pc-mingw32-gcc -shared -o stopspam.dll *.o -Wl,-O1,-s -lstdc++ + i686-pc-mingw32-gcc -shared -o stopspam.dll *.o -Wl,-O1,-s upx -9 stopspam.dll clean: -- cgit v1.2.3