diff options
author | (no author) <(no author)@63852ff1-2cfd-40b9-8011-e561a9d89b1c> | 2008-12-03 11:56:29 +0000 |
---|---|---|
committer | (no author) <(no author)@63852ff1-2cfd-40b9-8011-e561a9d89b1c> | 2008-12-03 11:56:29 +0000 |
commit | 6a19be19c8da597ca421f64461a51249c18bfcb3 (patch) | |
tree | f1bc5097e53e85b09e7c5ec7d4b526d81a248cf8 | |
parent | 400d88da03c7f117fc5cbbb58b2d86da37cd90a4 (diff) |
Makefile for mingw
git-svn-id: http://172.18.13.13/svn/mim_plugs@4 63852ff1-2cfd-40b9-8011-e561a9d89b1c
-rw-r--r-- | stopspam_mod/trunk/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stopspam_mod/trunk/Makefile b/stopspam_mod/trunk/Makefile new file mode 100644 index 0000000..fc08dd9 --- /dev/null +++ b/stopspam_mod/trunk/Makefile @@ -0,0 +1,12 @@ +all:
+ i686-pc-mingw32-g++ -c -DBUILD_DLL *.cpp -I../../include -I/usr/i686-pc-mingw32/usr/include -I. -w -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
+ upx -9 stopspam.dll +
+clean:
+ rm *.o
+
+clean-all:
+ rm *.o *.dll +
\ No newline at end of file |