-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.srcs
executable file
·69 lines (63 loc) · 1.45 KB
/
makefile.srcs
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# MAIN
MAIN = main.c error_exit.c
# end MAIN
# PARSER
PARSER_DIR = parser
PARSER = $(addprefix $(PARSER_DIR)/, \
parsing_scene.c \
parsing_scene_objects.c \
parsing_scene_properties.c \
scene_inits.c \
scene_preparation.c \
scene_rotation.c \
scene_utilities.c \
utilities.c \
utilities_atoi_atof.c \
utilities_color.c \
utilities_rotation.c \
utilities_string.c)
# end PARSER
# VECTORS
VECTOR_DIR = vectors
VECTORS = $(addprefix $(VECTOR_DIR)/, \
vectors.c \
vectors_operations.c \
vector_rotation.c)
# end VECTORS
# OBJECTS
OBJECT_DIR = objects
OBJECTS = $(addprefix $(OBJECT_DIR)/, \
object_intersection.c \
cylinder.c \
cylinder_caps.c \
plane.c \
sphere.c \
cone.c)
# end OBJECTS
# GRAPHICS
GRAPHICS_DIR = graphics
GRAPHICS = $(addprefix $(GRAPHICS_DIR)/, \
colors.c \
colors2.c \
ray_tracing.c \
draw_pixels.c \
graphic_layer.c \
light.c \
checkerboard.c \
pattern.c)
# end GRAPHICS
# HOOKS
HOOK_DIR = hooks
HOOKS = $(addprefix $(HOOK_DIR)/, \
register_hooks.c \
object_selection.c \
exit.c \
move_utilities.c \
move_qe.c \
move_wasd.c \
rotation_utilities.c \
rotation.c \
change_settings.c \
pattern_settings.c)
# end HOOKS
SRCS = $(MAIN) $(PARSER) $(VECTORS) $(OBJECTS) $(HOOKS) $(GRAPHICS)