summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/Makefile
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-30 06:48:44 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-30 06:48:44 +0000
commit8df61eefd63a9816aa25e3b567a82e74f5acc3d0 (patch)
treed1b2b7b957b40c20f386c105bb9036760b1c0081 /plugins/StopSpamMod/Makefile
parent234db3e6d7e9f285054f92233b9406efd684eaa3 (diff)
New_GPG unchecked in full solution (boost), StopSpamMod - folder renamed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1269 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod/Makefile')
-rwxr-xr-xplugins/StopSpamMod/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/StopSpamMod/Makefile b/plugins/StopSpamMod/Makefile
new file mode 100755
index 0000000000..4df12dca59
--- /dev/null
+++ b/plugins/StopSpamMod/Makefile
@@ -0,0 +1,24 @@
+CFLAGS=-Os -fomit-frame-pointer -pipe -march=i686 -mdll -mwin32 -mwindows -I../miranda-im/miranda/include -I/home/sss/temp/windows/libs/utf8cpp/include -D UNICODE -D _UNICODE -DBUILD_DLL
+CXXFLAGS=${CFLAGS}
+LDFLAGS=-shared -Wl,--subsystem,windows,--kill-at
+CPPFLAGS =
+CC=i686-pc-mingw32-gcc
+CXX=i686-pc-mingw32-g++
+STRIP=i686-pc-mingw32-strip
+WINDRES=i686-pc-mingw32-windres
+LD=i686-pc-mingw32-ld
+LNK_COMMON=-lkernel32 -lboost_thread_win32-mt -lboost_system-mt -lboost_random-mt -lboost_regex-mt
+MAINOBJS=eventhooker.o init.o options.o utilities.o stopspam.o
+RESOURCES=stopspam.rc
+
+all: main
+main: $(MAINOBJS)
+ $(WINDRES) -i $(RESOURCES) -o stopspam_res.o
+ $(CXX) $(MAINOBJS) stopspam_res.o $(LNK_COMMON) $(LDFLAGS) -o stopspam.dll
+ $(STRIP) stopspam.dll
+# upx -9 stopspam.dll
+clean:
+ rm *.o
+ rm stopspam.dll
+
+