X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=Makefile;h=746d160584088107116e62c65202aa0d154e8bcc;hb=refs%2Fheads%2Fanim;hp=c74b1005f3e0a56f4b5482bbe35fe3971ec7422a;hpb=44cbe5533920b8c1c0f13b5d5c16b46f75687fb4;p=opengl.git diff --git a/Makefile b/Makefile index c74b100..746d160 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,15 @@ all: bin/main CXX_FLAGS := -g --std=c++17 -march=native -Wall -bin/main: model.o material.o image.o skybox.o program.o ik.o main.o util.o +bin/main: model.o material.o image.o skybox.o program.o ik.o main.o util.o ui.o blendshapes.o mode/animationMode.o clang++ $(CXX_FLAGS) $^ \ -I/usr/local/include -L/usr/local/lib \ -lassimp \ + -framework Cocoa \ -framework OpenGL -framework glut -framework CoreGraphics -framework CoreFoundation -framework ImageIO -lglew -o $@ ctags *.cpp +ui.o: ui.mm ui.hpp + clang++ -g -march=native -Wall -I/usr/local/include -c $< -o $@ %.o: %.cpp clang++ $(CXX_FLAGS) -I/usr/local/include -c $< -o $@