mirror of
https://github.com/phoboslab/wipeout-rewrite.git
synced 2025-12-19 17:59:09 -05:00
Merge pull request #156 from GirianSeed/fix-msys-build
Fix Windows MSYS2 builds
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@
|
|||||||
/build/
|
/build/
|
||||||
|
|
||||||
/wipegame
|
/wipegame
|
||||||
|
/wipegame.exe
|
||||||
/save.dat
|
/save.dat
|
||||||
.DS_STORE
|
.DS_STORE
|
||||||
gamecontrollerdb.txt
|
gamecontrollerdb.txt
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -73,9 +73,9 @@ else ifeq ($(shell uname -o), Msys)
|
|||||||
L_FLAGS := $(L_FLAGS) -lglew32 -lopengl32
|
L_FLAGS := $(L_FLAGS) -lglew32 -lopengl32
|
||||||
endif
|
endif
|
||||||
|
|
||||||
C_FLAGS := $(C_FLAGS) -DSDL_MAIN_HANDLED -D__MSYS__
|
C_FLAGS := $(C_FLAGS) -DSDL_MAIN_HANDLED
|
||||||
L_FLAGS_SDL = -lSDL2 -lSDL2main
|
L_FLAGS_SDL := $(shell sdl2-config --libs)
|
||||||
L_FLAGS_SOKOL = --pthread -ldl -lasound
|
L_FLAGS_SOKOL = --pthread -lgdi32 -lole32
|
||||||
|
|
||||||
|
|
||||||
# Windows NON-MSYS ---------------------------------------------------------------
|
# Windows NON-MSYS ---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user