Updated Makefile as of #256
This commit is contained in:
parent
aa1f516fa3
commit
be7ac9b903
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue