glew/config/Makefile.fedora-mingw32

13 lines
350 B
Makefile

# For cross-compiling from Linux to Windows x86 using mingw32
# http://www.mingw.org/
#
# $ make SYSTEM=fedora-mingw32
include config/Makefile.linux-mingw32
CC := i686-pc-mingw32-gcc
LD := i686-pc-mingw32-ld
LDFLAGS.GL += -L/usr/i686-pc-mingw32/sys-root/mingw/lib
CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
LDFLAGS.EXTRA += -nostdlib