summaryrefslogtreecommitdiff
path: root/plugins/watrack_mpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/watrack_mpd/Makefile')
-rwxr-xr-xplugins/watrack_mpd/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/watrack_mpd/Makefile b/plugins/watrack_mpd/Makefile
new file mode 100755
index 0000000000..02c89bd6d3
--- /dev/null
+++ b/plugins/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 -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
+
+clean:
+ rm *.o
+
+clean-all:
+ rm *.o *.dll
+