radare2/mk/i686-pc-mingw32-gcc.mk

24 lines
446 B
Makefile
Raw Normal View History

2014-07-18 06:57:43 +00:00
ifeq (${_INCLUDE_MK_GCC_},)
_INCLUDE_MK_GCC_=1
CROSS=i686-pc-mingw32-
CC=${CROSS}gcc
RANLIB=${CROSS}ranlib
2014-07-18 06:57:43 +00:00
OSTYPE=windows
LINK=
AR=${CROSS}ar
CC_AR=${AR} -r ${LIBAR}
PARTIALLD=${CROSS}ld -r --whole-archive
2014-07-18 06:57:43 +00:00
PICFLAGS=
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