Skip to content

Commit

Permalink
Example: add OS X specific include and library paths to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed May 21, 2016
1 parent 2e975a3 commit 45bbe7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ 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 -lm -lGLEW -L/usr/local/lib
CFLAGS += -I/usr/local/include
else
LIBS = -lglfw -lGL -lm -lGLU -lGLEW
endif
Expand Down

0 comments on commit 45bbe7d

Please sign in to comment.