-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (14 loc) · 864 Bytes
/
Makefile
File metadata and controls
18 lines (14 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: p3d test
ar rvs libp3d.a P3d_Window.o P3d_Renderer.o P3d_Camera.o P3d_Entity.o P3d_Object.o P3d_Timer.o utils.o P3d_InputManager.o P3d_Mesh.o P3d_Vertex.o
g++ -o exe test_mesh.o libp3d.a -lGLEW -lsfml-graphics -lsfml-window -lsfml-system -lassimp
rm *.o
p3d: src/P3d_Window.cpp src/P3d_Renderer.cpp src/P3d_Camera.cpp src/P3d_Entity.cpp src/P3d_Object.cpp src/P3d_Timer.cpp src/utils.cpp src/P3d_InputManager.cpp src/P3d_Mesh.cpp src/P3d_Vertex.cpp
g++ -c src/P3d_Window.cpp src/P3d_Renderer.cpp src/P3d_Camera.cpp src/P3d_Entity.cpp src/P3d_Object.cpp src/P3d_Timer.cpp src/utils.cpp src/P3d_InputManager.cpp src/P3d_Mesh.cpp src/P3d_Vertex.cpp
test: examples/test_mesh.cpp
g++ -c examples/test_mesh.cpp
clean:
rm *.o
mc: meshConverter/meshConverter.cpp
g++ -c meshConverter/meshConverter.cpp
g++ -o meshconverter meshConverter.o -lassimp
rm *.o