summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mingw328
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index 6e3776a..fafaf18 100644
--- a/Makefile.mingw32
+++ b/Makefile.mingw32
@@ -39,7 +39,7 @@ INCLUDES = \
HAVES = -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_MALLOC_H -DHAVE_BYTESWAP_H -DCD_NO_OLD_INTERFACE -DGTK_DISABLE_DEPRECATED -DIUPLUA_USELOH -DUSE_STATIC -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0500 -DWINVER=0x0501
-CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS -DREADLINE_STATIC -DHOOK_STDS -DWORDS_LITTLEENDIAN -fexceptions -march=i686 $(HAVES)
+CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS -DREADLINE_STATIC -DHOOK_STDS -DWORDS_LITTLEENDIAN -fexceptions -march=i686 $(HAVES) -D__CRT_INLINE="static inline"
LDFLAGS += -g -fexceptions -shared ../lua-interface/lua-interface.a -Wl,--export-dynamic -Wl,--enable-auto-image-base --export-all-symbols -Wl,--enable-auto-import \
-L ../freetype-win32/lib -L ../gnuwin32/lib
@@ -104,6 +104,7 @@ im_canny.cpp \
im_distance.cpp \
im_analyze.cpp \
im_kernel.cpp \
+im_sysfile_win32.cpp \
imlua.c \
imlua_aux.c \
imlua_convert.c \
@@ -175,7 +176,7 @@ cdwprn.c \
cdwwmf.c \
wmf_emf.c \
-CD_LIBS =
+CD_LIBS = -lgdi32 -lcomdlg32
IUP_SOURCES = \
iup_array.c \
@@ -275,6 +276,7 @@ iupwin_tips.c \
iupwin_toggle.c \
iupwin_tree.c \
iupwin_val.c \
+iup_oldmask.c \
iup_array.c \
iup_callback.c \
iup_dlglist.c \
@@ -416,7 +418,7 @@ il_matrix.c \
il_cells.c \
iuplua_im.c \
-IUP_LIBS =
+IUP_LIBS = -lole32 -lcomctl32
MAIN_IUP_SOURCE = \
plugin-luaiup.cc \