diff options
author | Gluzskiy Alexandr <sss123next@gmail.com> | 2010-02-16 21:05:53 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@gmail.com> | 2010-02-16 21:05:53 +0300 |
commit | ecc025881fe2a82f0dfe5e11758332e2938713e7 (patch) | |
tree | c0024f5b48e44a94de82615844bbe66aca5d4094 | |
parent | 060b0ff129362699cb15bbb9ddb415f99e07592e (diff) |
windows options for gcc
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ all:
- i686-pc-mingw32-gcc -c -DBUILD_DLL -D UNICODE -D _UNICODE *.c -I../../include -I/usr/i686-pc-mingw32/usr/include -I. -w -march=i686 -msse -O2 -pipe
+ i686-pc-mingw32-gcc -c -DBUILD_DLL -D UNICODE -D _UNICODE *.c -I../../include -I/usr/i686-pc-mingw32/usr/include -I. -w -mwin32 -mwindows -mdll -march=i686 -msse -O2 -pipe
i686-pc-mingw32-windres -i watrack_mpd.rc -o resources.o
i686-pc-mingw32-gcc -shared -o watrack_mpd.dll *.o -Wl,-O1,-s
upx -9 watrack_mpd.dll
|