You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
18 lines
512 B
18 lines
512 B
# This makefile currently only works for mac os |
|
# You should install via homebrew: |
|
# brew install glew |
|
# brew install glfw3 |
|
# |
|
|
|
CXXFLAGS=-framework OpenGL -framework Cocoa -framework IOKit |
|
CXXFLAGS+=-I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/Cellar/glfw3/3.0.4/include |
|
CXXFLAGS+=-L/usr/local/Cellar/glew/1.10.0/lib -L/usr/local/Cellar/glfw3/3.0.4/lib |
|
CXXFLAGS+=-lglew -lglfw3 |
|
CXXFLAGS+=-I../../ |
|
CXXFLAGS+= -D__APPLE__ |
|
|
|
main: main.cpp ../../imgui.cpp |
|
$(CXX) $(CXXFLAGS) -o $@ $^ |
|
|
|
clean: |
|
rm main
|
|
|