projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First pass at blendshapes
[opengl.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index c74b1005f3e0a56f4b5482bbe35fe3971ec7422a..cb78344514155804e65d13214e5f5dd82442a9d8 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,12
+2,15
@@
all: bin/main
CXX_FLAGS := -g --std=c++17 -march=native -Wall
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
clang++ $(CXX_FLAGS) $^ \
-I/usr/local/include -L/usr/local/lib \
-lassimp \
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
-framework OpenGL -framework glut -framework CoreGraphics -framework CoreFoundation -framework ImageIO -lglew -o $@
ctags *.cpp
+ui.o: ui.mm ui.h
+ clang++ -g -march=native -Wall -I/usr/local/include -c $< -o $@
%.o: %.cpp
clang++ $(CXX_FLAGS) -I/usr/local/include -c $< -o $@
%.o: %.cpp
clang++ $(CXX_FLAGS) -I/usr/local/include -c $< -o $@