From 4f5d3827d98c5e06b814b5e45815da5a7a681c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre-Xavier=20Labont=C3=A9-Lamoureux?= Date: Sun, 7 Jan 2024 02:36:26 -0500 Subject: [PATCH] Update makefile --- Project/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project/makefile b/Project/makefile index 3c3f8773..a11a9661 100644 --- a/Project/makefile +++ b/Project/makefile @@ -9,7 +9,7 @@ DEP = $(OBJ:.o=.d) # One dependency file for each source CXXFLAGS = -Wall -Wextra -std=c++14 -O2 -pipe ifeq ($(findstring MINGW,$(shell uname -s)),MINGW) - LDFLAGS = -lSDL2main -lSDL2 -lSDL2_image -lkernel32 -luser32 -lgdi32 -lstdc++ -lm -lglfw3 -lglu32 -lopengl32 -lzmq -mconsole + LDFLAGS = -lSDL2main -lSDL2 -lSDL2_image -lkernel32 -luser32 -lgdi32 -lstdc++ -lm -lglfw3 -lglu32 -lopengl32 -lzmq -mconsole -Wl,-subsystem,windows else LDFLAGS = -lstdc++ -lm -lglfw -lGL -lGLU -lSDL2 -lSDL2_image -lzmq endif