summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-05 20:08:06 +0100
committerPixel <pixel@nobis-crew.org>2009-11-05 20:08:06 +0100
commit4d62855adf4b32db130fd551bbe79b0c64e91cb0 (patch)
tree6e818d7f8c97b9df2e86b9ded45e65185cd64077 /Makefile.mingw32
parent95ffde34268043d5590780211c2a284b4c6f18b4 (diff)
Making the mingw32 actually compiling.
Diffstat (limited to 'Makefile.mingw32')
-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 \