radare2/mk/i386-mingw32-gcc.mk
pancake df72d33e4e * Added sys/ scripts to compile for mingw64
- Use -j 4 everywhere
  - Check return values on chained commands
2011-09-10 02:32:48 +02:00

19 lines
349 B
Makefile

# osx port install mingw32-gcc
CC=i386-mingw32-gcc
RANLIB=i386-mingw32-ranlib
OSTYPE=windows
ONELIB=0
LINK=-shared
CC_AR=echo ar -r ${LIBAR}
PICFLAGS=
CFLAGS+=${PICFLAGS} -MD -D__WINDOWS__=1
CC_LIB=${CC} -shared -o
CFLAGS_INCLUDE=-I
LDFLAGS_LINK=-l
LDFLAGS_LINKPATH=-L
CFLAGS_OPT0=-O0
CFLAGS_OPT1=-O1
CFLAGS_OPT2=-O2
CFLAGS_OPT3=-O3
CFLAGS_DEBUG=-g