Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AXDOOMER committed Jan 7, 2024
1 parent d47a2c0 commit 4f5d382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f5d382

Please sign in to comment.