mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-01-23 23:36:45 +00:00
windows cross-compile
This commit is contained in:
parent
2ad4c01a2d
commit
15f86ed1f5
@ -4,11 +4,11 @@ SDL_ROOT_DIR=/usr/x86_64-w64-mingw32/bin
|
||||
|
||||
CXX=/usr/bin/x86_64-w64-mingw32-g++
|
||||
SDL2_CFLAGS=`$(SDL_ROOT_DIR)/sdl2-config --cflags`
|
||||
CXXFLAGS=-std=c++11 -static-libgcc -static-libstdc++ $(SDL2_CFLAGS) -DETCDIR=\"./\"
|
||||
CXXFLAGS=-O3 -std=c++11 $(SDL2_CFLAGS) -DETCDIR=\"..\"
|
||||
|
||||
LD=/usr/bin/x86_64-w64-mingw32-g++
|
||||
SDL2_LDFLAGS=`$(SDL_ROOT_DIR)/sdl2-config --libs`
|
||||
LDFLAGS=$(SDL2_LDFLAGS) -lole32 -static-libgcc -static-libstdc++
|
||||
SDL2_LDFLAGS=`$(SDL_ROOT_DIR)/sdl2-config --static-libs | sed 's/-mwindows//'` -lcomdlg32 -static-libstdc++
|
||||
LDFLAGS=$(SDL2_LDFLAGS)
|
||||
|
||||
SRCS=$(notdir $(wildcard *.cpp))
|
||||
INCS=$(notdir $(wildcard *.h))
|
||||
|
Loading…
x
Reference in New Issue
Block a user