2015-04-24 12:59:49 -05:00
|
|
|
# 22 april 2015
|
|
|
|
|
|
|
|
osCFILES = \
|
|
|
|
windows/alloc.c \
|
2015-04-24 13:09:48 -05:00
|
|
|
windows/comctl32.c \
|
|
|
|
windows/debug.c \
|
2015-04-24 12:59:49 -05:00
|
|
|
windows/init.c \
|
|
|
|
windows/main.c \
|
|
|
|
windows/oscontainer.c \
|
|
|
|
windows/text.c \
|
|
|
|
windows/util.c \
|
|
|
|
windows/window.c
|
|
|
|
|
|
|
|
osHFILES = \
|
|
|
|
windows/uipriv_windows.h
|
|
|
|
|
|
|
|
# thanks ebassi in irc.gimp.net/#gtk+
|
|
|
|
osCFLAGS = \
|
|
|
|
-D_UI_EXTERN='__declspec(dllexport) extern'
|
|
|
|
|
|
|
|
osLDFLAGS = \
|
|
|
|
-luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
|
|
|
|
|
|
|
osLIBSUFFIX = .dll
|
|
|
|
osEXESUFFIX = .exe
|
|
|
|
|
|
|
|
ifeq ($(ARCH),64)
|
|
|
|
CC = x86_64-w64-mingw32-gcc
|
|
|
|
RC = x86_64-w64-mingw32-windres
|
|
|
|
osCFLAGS += -m64
|
|
|
|
osLDFLAGS += -m64
|
|
|
|
else
|
|
|
|
CC = i686-w64-mingw32-gcc
|
|
|
|
RC = i686-w64-mingw32-windres
|
|
|
|
osCFLAGS += -m32
|
|
|
|
osLDFLAGS += -m32
|
|
|
|
endif
|