all: bin/main
+CXX_FLAGS := -g --std=c++17 -Wall
+
bin/main: model.o material.o image.o skybox.o program.o main.cpp
- clang++ -g --std=c++17 $^ -I../assimp/include -L../assimp/lib -lassimp \
+ clang++ $(CXX_FLAGS) $^ \
-I/usr/local/include -L/usr/local/lib \
+ -lassimp \
-framework OpenGL -framework glut -framework CoreGraphics -framework CoreFoundation -framework ImageIO -lglew -o $@
ctags *.cpp
%.o: %.cpp
- clang++ -g --std=c++17 -I/usr/local/include -c $< -o $@
+ clang++ $(CXX_FLAGS) -I/usr/local/include -c $< -o $@