summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@gmail.com>2010-02-16 21:05:53 +0300
committerGluzskiy Alexandr <sss123next@gmail.com>2010-02-16 21:05:53 +0300
commitecc025881fe2a82f0dfe5e11758332e2938713e7 (patch)
treec0024f5b48e44a94de82615844bbe66aca5d4094
parent060b0ff129362699cb15bbb9ddb415f99e07592e (diff)
windows options for gcc
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 92f113e..02c89bd 100644
--- a/Makefile
+++ b/Makefile
@@ -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