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

docking
ocornut 10 years ago
parent dc7cdb3025
commit b911f96a56

@ -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:

@ -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:

Loading…
Cancel
Save