summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@gmail.com>2010-02-16 21:04:41 +0300
committerGluzskiy Alexandr <sss123next@gmail.com>2010-02-16 21:04:41 +0300
commite0cb24864e39f6e7ca2e959f529e66dd4675ed3d (patch)
tree6805ca3199a509e611d48a2eb3cb7c9fc589d647
parent02b8498fdb1d06aa8b6f136e2914000d05f29dc2 (diff)
windows gcc options
-rw-r--r--Makefile4
1 files 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: