summaryrefslogtreecommitdiff
path: root/stopspam_mod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stopspam_mod/Makefile')
-rw-r--r--stopspam_mod/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/stopspam_mod/Makefile b/stopspam_mod/Makefile
index fda598f..6eb5adf 100644
--- a/stopspam_mod/Makefile
+++ b/stopspam_mod/Makefile
@@ -1,7 +1,7 @@
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-g++ -c -DBUILD_DLL -D UNICODE -D _UNICODE *.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
+ i686-pc-mingw32-gcc -shared -o stopspam.dll *.o -Wl,-O1,-s -lstdc++
upx -9 stopspam.dll
clean:
@@ -9,4 +9,4 @@ clean:
clean-all:
rm *.o *.dll
- \ No newline at end of file
+