diff options
author | Gluzskiy Alexandr <sss123next@gmail.com> | 2010-02-16 21:04:41 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@gmail.com> | 2010-02-16 21:04:41 +0300 |
commit | e0cb24864e39f6e7ca2e959f529e66dd4675ed3d (patch) | |
tree | 6805ca3199a509e611d48a2eb3cb7c9fc589d647 | |
parent | 02b8498fdb1d06aa8b6f136e2914000d05f29dc2 (diff) |
windows gcc options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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:
|