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