2012-08-10 11:35:38 +02:00
|
|
|
ifeq (${_INCLUDE_MK_GCC_},)
|
|
|
|
_INCLUDE_MK_GCC_=1
|
2009-04-03 11:11:17 +00:00
|
|
|
CC=i486-mingw32-gcc
|
2011-03-10 11:36:16 +01:00
|
|
|
RANLIB=i486-mingw32-ranlib
|
2009-04-03 11:11:17 +00:00
|
|
|
OSTYPE=windows
|
2010-03-25 10:18:59 +01:00
|
|
|
ONELIB=0
|
2010-06-27 22:14:06 +02:00
|
|
|
LINK=-shared
|
2013-08-27 02:00:21 +02:00
|
|
|
CC_AR=i486-mingw32-gcc -r ${LIBAR}
|
2009-04-03 11:11:17 +00:00
|
|
|
PICFLAGS=
|
2010-01-15 13:02:54 +01:00
|
|
|
CFLAGS+=${PICFLAGS} -MD -D__WINDOWS__=1
|
2010-04-12 02:22:52 +02:00
|
|
|
CC_LIB=${CC} -shared -o
|
2009-04-03 11:11:17 +00:00
|
|
|
CFLAGS_INCLUDE=-I
|
2013-07-05 00:41:02 +02:00
|
|
|
LDFLAGS+=-static-libgcc
|
2009-04-03 11:11:17 +00:00
|
|
|
LDFLAGS_LINK=-l
|
2010-06-15 14:10:42 +02:00
|
|
|
LDFLAGS_LINKPATH=-L
|
2009-04-03 11:11:17 +00:00
|
|
|
CFLAGS_OPT0=-O0
|
|
|
|
CFLAGS_OPT1=-O1
|
|
|
|
CFLAGS_OPT2=-O2
|
|
|
|
CFLAGS_OPT3=-O3
|
|
|
|
CFLAGS_DEBUG=-g
|
2012-08-10 11:35:38 +02:00
|
|
|
endif
|