Example: add OS X specific include and library paths to Makefile
This commit is contained in:
parent
2e975a3bd8
commit
45bbe7d6bb
|
@ -7,7 +7,8 @@ LIBS = -lglfw3 -lopengl32 -lm -lGLU32 -lGLEW32
|
||||||
else
|
else
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
LIBS = -lglfw3 -framework OpenGL -lm -lGLEW
|
LIBS = -lglfw3 -framework OpenGL -lm -lGLEW -L/usr/local/lib
|
||||||
|
CFLAGS += -I/usr/local/include
|
||||||
else
|
else
|
||||||
LIBS = -lglfw -lGL -lm -lGLU -lGLEW
|
LIBS = -lglfw -lGL -lm -lGLU -lGLEW
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue