projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update gitattributes
[opengl.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 97ea9231c689ebadf09bed4cbd9e325b08fdf817..fe9ca798e5649bb34c02c641a02d2f91927b6067 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,16
@@
all: bin/main
all: bin/main
-CXX_FLAGS := -g --std=c++17 -march=native -Wall
-DDEBUG_NODES
+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.hpp
+ 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 $@