mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-30 02:17:07 +00:00
13 lines
350 B
Makefile
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
|