Construct shape information.
This commit is contained in:
@@ -2,6 +2,9 @@ UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
LD_FLAGS=-framework OpenGL -lglfw3 -lglew
|
||||
endif
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
LD_FLAGS=-lGL -lGLU -lglfw3 -lGLEW -lX11 -lXrandr -lXinerama -lXxf86vm -lXcursor -lm -pthread -ldl
|
||||
endif
|
||||
|
||||
all:
|
||||
clang -c trackball.c
|
||||
|
||||
Reference in New Issue
Block a user