-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathmakefile
More file actions
executable file
·30 lines (21 loc) · 1.03 KB
/
makefile
File metadata and controls
executable file
·30 lines (21 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
LFLAGS := -lglut -lGL -lGLEW
CFLAGS := -Wall
IFLAGS := -I../../shared32/glm/ -I../../shared32/freeglut -I../../shared32/glew -I../src/SOIL -I../src/tiny_obj_loader
565DefferedShader: Utility.o tiny_obj_loader.o main.o image_helper.o stb_image_aug.o image_DXT.o SOIL.o
g++ *.o -o 565DefferedShader $(LFLAGS)
tiny_obj_loader.o: ../src/tiny_obj_loader/tiny_obj_loader.cc ../src/tiny_obj_loader/tiny_obj_loader.h
g++ ../src/tiny_obj_loader/tiny_obj_loader.cc -c
SOIL.o: ../src/SOIL/SOIL.c ../src/SOIL/*.h
gcc ../src/SOIL/SOIL.c -c
image_DXT.o: ../src/SOIL/image_DXT.c ../src/SOIL/*.h
gcc ../src/SOIL/image_DXT.c -c
stb_image_aug.o: ../src/SOIL/stb_image_aug.c ../src/SOIL/*.h
gcc ../src/SOIL/stb_image_aug.c -c
image_helper.o: ../src/SOIL/image_helper.c ../src/SOIL/*.h
gcc ../src/SOIL/image_helper.c -c
main.o: ../src/main.cpp ../src/main.h ../src/Utility.h
g++ -g ../src/main.cpp $(IFLAGS) -c
Utility.o: ../src/Utility.cpp ../src/Utility.h
g++ ../src/Utility.cpp $(IFLAGS) -c
clean:
rm *.o 565DefferedShader