aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2025-06-11 21:12:40 +1200
committerArslaan Pathan <[email protected]>2025-06-11 21:12:40 +1200
commit2a65e974adc6f41a1013487352166f12d508ad9e (patch)
tree2e2250edc7688aad30de1a154672220d636c400c /Makefile
parentaec48a5bb74bea3cdd4af6e2056e1c5fd20cdb02 (diff)
downloadshowdownofthesticks-2a65e974adc6f41a1013487352166f12d508ad9e.tar.xz
showdownofthesticks-2a65e974adc6f41a1013487352166f12d508ad9e.zip
Windows cross compiler yelling at me again, this should fix it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a6c81bb..a4055b3 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,10 @@ ifeq ($(OS),Windows_NT)
TARGET_DIR = $(BUILD_DIR)/dist
TARGET = $(TARGET_DIR)/$(APP_NAME).exe
MAKE_APP = false
- CXXFLAGS = -IWindowsShit/SDL2-2.24.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_ttf-2.24.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_image-2.6.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_mixer-2.6.1/x86_64-w64-mingw32/include
+ CXXFLAGS = -IWindowsShit/SDL2-2.24.0/x86_64-w64-mingw32/include
+ CXXFLAGS += -IWindowsShit/SDL2_ttf-2.24.0/x86_64-w64-mingw32/include
+ CXXFLAGS += -IWindowsShit/SDL2_image-2.6.0/x86_64-w64-mingw32/include
+ CXXFLAGS += -IWindowsShit/SDL2_mixer-2.6.1/x86_64-w64-mingw32/include
CXXFLAGS += -D_THREAD_SAFE -std=c++17 -static-libgcc -static-libstdc++
CFLAGS = -IWindowsShit/SDL2-2.24.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_ttf-2.24.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_image-2.6.0/x86_64-w64-mingw32/include -IWindowsShit/SDL2_mixer-2.6.1/x86_64-w64-mingw32/include
CFLAGS += -D_THREAD_SAFE