radare2/mk/x86_64-w64-mingw32-gcc.mk

27 lines
480 B
Makefile
Raw Normal View History

2021-08-27 00:41:09 +00:00
ifeq (${_INCLUDE_MK_GCC_},)
_INCLUDE_MK_GCC_=1
CROSS=x86_64-w64-mingw32-
CC=${CROSS}gcc
RANLIB=${CROSS}ranlib
2011-07-12 17:42:20 +00:00
ONELIB=0
OSTYPE=windows
LINK=
AR=${CROSS}ar
CC_AR=${AR} -r ${LIBAR}
PARTIALLD=${CROSS}ld -r --whole-archive
2011-07-12 17:42:20 +00:00
PICFLAGS=
EXT_AR=lib
2021-08-27 00:41:09 +00:00
EXT_SO=dll
CFLAGS+=${PICFLAGS} -MD -DR2__WINDOWS__=1
2011-07-12 17:42:20 +00:00
CC_LIB=${CC} -shared -o
CFLAGS_INCLUDE=-I
2021-08-27 00:41:09 +00:00
LDFLAGS+=-static-libgcc
2011-07-12 17:42:20 +00:00
LDFLAGS_LINK=-l
LDFLAGS_LINKPATH=-L
CFLAGS_OPT0=-O0
CFLAGS_OPT1=-O1
CFLAGS_OPT2=-O2
CFLAGS_OPT3=-O3
CFLAGS_DEBUG=-g
2021-08-27 00:41:09 +00:00
endif