Examples: Speculative Makefile fix. I should get a Linux box instead on relying on Jenkins, this is pretty embarrassing.

This commit is contained in:
ocornut 2015-02-27 11:19:50 +00:00
parent dc7cdb3025
commit b911f96a56
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ ifeq ($(UNAME_S), Linux) #LINUX
CXXFLAGS = -I../../ -I../opengl_example/gl3w `pkg-config --cflags glfw3` CXXFLAGS = -I../../ -I../opengl_example/gl3w `pkg-config --cflags glfw3`
CXXFLAGS += -Wall CXXFLAGS += -Wall
CFLAGS = CXXFLAGS CFLAGS = $(CXXFLAGS)
endif endif
ifeq ($(UNAME_S), Darwin) #APPLE ifeq ($(UNAME_S), Darwin) #APPLE
@ -36,7 +36,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE
CXXFLAGS = -I../../ -I../opengl_example/gl3w -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include CXXFLAGS = -I../../ -I../opengl_example/gl3w -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include
CXXFLAGS += -Wall CXXFLAGS += -Wall
# CXXFLAGS += -D__APPLE__ # CXXFLAGS += -D__APPLE__
CFLAGS = CXXFLAGS CFLAGS = $(CXXFLAGS)
endif endif
.cpp.o: .cpp.o:

View File

@ -23,7 +23,7 @@ ifeq ($(UNAME_S), Linux) #LINUX
CXXFLAGS = -I../../ `pkg-config --cflags glfw3` CXXFLAGS = -I../../ `pkg-config --cflags glfw3`
CXXFLAGS += -Wall CXXFLAGS += -Wall
CFLAGS = CXXFLAGS CFLAGS = $(CXXFLAGS)
endif endif
ifeq ($(UNAME_S), Darwin) #APPLE ifeq ($(UNAME_S), Darwin) #APPLE
@ -35,7 +35,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE
CXXFLAGS = -I../../ -I/usr/local/include CXXFLAGS = -I../../ -I/usr/local/include
CXXFLAGS += -Wall CXXFLAGS += -Wall
# CXXFLAGS += -D__APPLE__ # CXXFLAGS += -D__APPLE__
CFLAGS = CXXFLAGS CFLAGS = $(CXXFLAGS)
endif endif
.cpp.o: .cpp.o: