mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-07-24 01:21:40 +03:00

* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
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
|