Load lights from model
[opengl.git] / Makefile
1 all: bin/main
2
3 CXX_FLAGS := -g --std=c++17 -Wall
4
5 bin/main: model.o material.o image.o skybox.o program.o main.o util.o
6         clang++ $(CXX_FLAGS) $^ \
7                 -I/usr/local/include -L/usr/local/lib \
8                 -lassimp \
9                 -framework OpenGL -framework glut -framework CoreGraphics -framework CoreFoundation -framework ImageIO -lglew -o $@
10         ctags *.cpp
11
12 %.o: %.cpp
13         clang++ $(CXX_FLAGS) -I/usr/local/include -c $< -o $@