skunkworks-c/lib/glew-2.1.0/config/Makefile.fedora-mingw32

13 lines
350 B
Makefile
Raw Normal View History

2022-12-20 04:41:03 +01:00
# 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