Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AXDOOMER authored Jan 7, 2024
1 parent 4f5d382 commit 5e49076
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 -Wl,-subsystem,windows
LDFLAGS = -lSDL2main -lSDL2 -lSDL2_image -lkernel32 -luser32 -lgdi32 -lstdc++ -lm -lglfw3 -lglu32 -lopengl32 -lzmq -mconsole -Wl,-subsystem,windows -e main
else
LDFLAGS = -lstdc++ -lm -lglfw -lGL -lGLU -lSDL2 -lSDL2_image -lzmq
endif
Expand Down

0 comments on commit 5e49076

Please sign in to comment.