Updated Makefile as of #256

This commit is contained in:
vurtun 2017-01-14 09:40:23 +01:00
parent aa1f516fa3
commit be7ac9b903
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ LIBS = -lglfw3 -lopengl32 -lm -lGLU32
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS = -lglfw3 -framework OpenGL -lm
LIBS := -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lm -lGLEW -L/usr/local/lib
else
LIBS = -lglfw -lGL -lm -lGLU
endif

View File

@ -13,7 +13,7 @@ LIBS = -lglfw3 -lopengl32 -lm -lGLU32 -lGLEW32
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS = -lglfw3 -framework OpenGL -lm -lGLEW
LIBS := -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lm -lGLEW -L/usr/local/lib
else
LIBS = -lglfw -lGL -lm -lGLU -lGLEW
endif

View File

@ -8,7 +8,7 @@ BIN := $(BIN).exe
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS := -lglfw3 -framework OpenGL -lm -lGLEW -L/usr/local/lib
LIBS := -lglfw3 -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo -lm -lGLEW -L/usr/local/lib
CFLAGS += -I/usr/local/include
else
LIBS := -lglfw -lGL -lm -lGLU -lGLEW