diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | commonheaders.h | 2 |
2 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,14 @@ -CFLAGS=-g -mdll -mwindows -I../miranda-im/miranda/include/ -I./ -D DEBUG -D _UNICODE -D UNICODE
+CFLAGS=-g -mdll -mwindows -I../miranda-im/miranda/include/ -I./ -I/home/sss/temp/windows/libs/utf8cpp/include -D DEBUG -D _UNICODE -D UNICODE
CXXFLAGS=${CFLAGS}
-LDFLAGS=-static-libgcc -Wl,-O1 -shared
+LDFLAGS=-static-libgcc -Wl,-O1 -shared -s -Wl,--subsystem,windows,--kill-at
CPPFLAGS =
CC=i686-pc-mingw32-gcc
CXX=i686-pc-mingw32-g++
STRIP=i686-pc-mingw32-strip
LD=i686-pc-mingw32-ld
-LNK_COMMON=-lkernel32 -lgpgme -lgcrypt -lgpg-error -lksba -lassuan
-MAINOBJS=init.o utilities.o main.o options.o
+LNK_COMMON=-lkernel32
+ +MAINOBJS=init.o utilities.o main.o options.o clist.cpp clist.o srmm.o metacontacts.o messages.o log.o jabber_account.o icons.o gpg_wrapper.o
WINDRES=i686-pc-mingw32-windres
all: main
diff --git a/commonheaders.h b/commonheaders.h index f2416a8..f881b9c 100644 --- a/commonheaders.h +++ b/commonheaders.h @@ -22,7 +22,7 @@ #include <io.h> #include <uxtheme.h> #include <shlwapi.h> -#include <Richedit.h> +#include <richedit.h> //c #include <locale.h> #include <errno.h> |