2014-07-18 06:57:43 +00:00
|
|
|
ifeq (${_INCLUDE_MK_GCC_},)
|
|
|
|
_INCLUDE_MK_GCC_=1
|
2018-01-09 23:59:38 +00:00
|
|
|
CROSS=i686-pc-mingw32-
|
|
|
|
CC=${CROSS}gcc
|
|
|
|
RANLIB=${CROSS}ranlib
|
2014-07-18 06:57:43 +00:00
|
|
|
OSTYPE=windows
|
|
|
|
LINK=
|
2018-01-09 23:59:38 +00:00
|
|
|
AR=${CROSS}ar
|
|
|
|
CC_AR=${AR} -r ${LIBAR}
|
2018-03-19 03:39:02 +00:00
|
|
|
PARTIALLD=${CROSS}ld -r --whole-archive
|
2014-07-18 06:57:43 +00:00
|
|
|
PICFLAGS=
|
2022-12-10 18:23:37 +00:00
|
|
|
CFLAGS+=${PICFLAGS} -MD -DR2__WINDOWS__=1
|
2014-07-18 06:57:43 +00:00
|
|
|
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
|