2015-06-28 08:35:43 +00:00
|
|
|
ifeq (${_INCLUDE_MK_GCC_},)
|
|
|
|
_INCLUDE_MK_GCC_=1
|
2018-01-09 23:59:38 +00:00
|
|
|
CROSS=i586-mingw32-
|
|
|
|
CC=${CROSS}gcc
|
|
|
|
RANLIB=${CROSS}ranlib
|
2015-06-28 08:35:43 +00:00
|
|
|
ONELIB=0
|
|
|
|
OSTYPE=windows
|
2018-01-09 23:59:38 +00:00
|
|
|
LINK=-shared
|
|
|
|
AR=${CROSS}ar
|
|
|
|
CC_AR=${AR} -r ${LIBAR}
|
2018-03-19 03:39:02 +00:00
|
|
|
PARTIALLD=${CROSS}ld -r --whole-archive
|
2015-06-28 08:35:43 +00:00
|
|
|
PICFLAGS=
|
|
|
|
CFLAGS+=${PICFLAGS} -MD -D__WINDOWS__=1
|
|
|
|
CC_LIB=${CC} -shared -o
|
|
|
|
CFLAGS_INCLUDE=-I
|
|
|
|
LDFLAGS+=-static-libgcc
|
|
|
|
LDFLAGS_LINK=-l
|
|
|
|
LDFLAGS_LINKPATH=-L
|
|
|
|
CFLAGS_OPT0=-O0
|
|
|
|
CFLAGS_OPT1=-O1
|
|
|
|
CFLAGS_OPT2=-O2
|
|
|
|
CFLAGS_OPT3=-O3
|
|
|
|
CFLAGS_DEBUG=-g
|
|
|
|
endif
|