If you install with brew, it also installs links into /usr/local -- and if the version changes having the extra link line here will cause warnings.

This commit is contained in:
Jim Tilander 2015-02-01 11:02:33 -08:00
parent e6318abcee
commit 087ded0c71

View File

@ -30,10 +30,10 @@ ifeq ($(UNAME_S), Darwin) #APPLE
ECHO_MESSAGE = "Mac OS X"
LIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo
LIBS += -L/usr/local/Cellar/glew/1.10.0/lib -L/usr/local/lib
LIBS += -L/usr/local/lib
LIBS += -lglew -lglfw3
CXXFLAGS = -I../../ -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include
CXXFLAGS = -I../../ -I/usr/local/include
CXXFLAGS += -Wall
# CXXFLAGS += -D__APPLE__
endif