diff --git a/Project/makefile b/Project/makefile index d8f86484..5d7e7baf 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 = -lstdc++ -lm -lglfw3 -lglu32 -lopengl32 -lSDL2 -lSDL2_image -lzmq -mwindows + LDFLAGS = -lSDL2main -lSDL2 -lSDL2_image -lkernel32 -luser32 -lgdi32 -lstdc++ -lm -lglfw3 -lglu32 -lopengl32 -lzmq else LDFLAGS = -lstdc++ -lm -lglfw -lGL -lGLU -lSDL2 -lSDL2_image -lzmq endif