Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-sylvestre committed Jun 4, 2023
1 parent 9c1a63d commit db7a323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ CXX = g++
CXXFLAGS = -I./third-party -I./src -I./third-party/glfw/include
CXXFLAGS += -std=c++11 -g3 -gdwarf-2 -Wall -Wextra -Werror=format -Werror=shadow -pedantic -pthread
CXXFLAGS += -Wno-missing-field-initializers
CXXFLAGS += -D_GNU_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L

ifeq ($(DEBUG), 1)
CXXFLAGS += -DDEBUG -O0
Expand Down Expand Up @@ -55,6 +54,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE
CXXFLAGS += -I/usr/local/include -I/opt/local/include -I/opt/homebrew/include
else ifeq ($(OS), Windows_NT)
ECHO_MESSAGE = "MinGW"
CXXFLAGS += -D_GNU_SOURCE # ptty and dirent visibility
LIBS += -lpthread -lgdi32 -lopengl32 -limm32
else
# linux, BSD, etc.
Expand Down

0 comments on commit db7a323

Please sign in to comment.