summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:20:13 +0300
committerGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:20:13 +0300
commit02296a801b778428493df4a0da98b293759a0ff1 (patch)
tree6d5c03ae348b29b8ba1caf31deedf05493ee925f
parent3adda8be02a4776cad6aaa61c17e95b96f237c41 (diff)
Makefile for gcc (mingw)
-rw-r--r--watrack_mpd/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/watrack_mpd/Makefile b/watrack_mpd/Makefile
new file mode 100644
index 0000000..92f113e
--- /dev/null
+++ b/watrack_mpd/Makefile
@@ -0,0 +1,12 @@
+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-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
+
+clean:
+ rm *.o
+
+clean-all:
+ rm *.o *.dll
+