Skip to content

Commit

Permalink
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ocornut committed Dec 21, 2016
1 parent 081aec4 commit 1396659
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/opengl2_example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ endif
ifeq ($(UNAME_S), Darwin) #APPLE
ECHO_MESSAGE = "Mac OS X"
LIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo
LIBS += -L/usr/local/lib -lglfw3
#LIBS += -L/usr/local/lib -lglfw3
LIBS += -L/usr/local/lib -lglfw

CXXFLAGS = -I../../ -I/usr/local/include
CXXFLAGS += -Wall -Wformat
# CXXFLAGS += -D__APPLE__
CFLAGS = $(CXXFLAGS)
endif

Expand Down
5 changes: 2 additions & 3 deletions examples/opengl3_example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ endif
ifeq ($(UNAME_S), Darwin) #APPLE
ECHO_MESSAGE = "Mac OS X"
LIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo
LIBS += -L/usr/local/lib -lglfw3
#LIBS += -L/usr/local/lib -lglfw
#LIBS += -L/usr/local/lib -lglfw3
LIBS += -L/usr/local/lib -lglfw

CXXFLAGS = -I../../ -I../libs/gl3w -I/usr/local/include
CXXFLAGS += -Wall -Wformat
# CXXFLAGS += -D__APPLE__
CFLAGS = $(CXXFLAGS)
endif

Expand Down

0 comments on commit 1396659

Please sign in to comment.