-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
117 lines (104 loc) · 1.59 KB
/
Makefile
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
NAME = miniRT
SRC = main.c\
cam_calc.c\
dist.c\
init.c\
ft_init.c\
mouse.c\
keyboard.c\
raymarching.c\
test_func.c\
dist/bx.c\
dist/cy.c\
dist/pl.c\
dist/sp.c\
dist/sq.c\
dist/tr.c\
obj/add_bx.c\
obj/add_cy.c\
obj/add_l.c\
obj/add_c.c\
obj/add_pl.c\
obj/add_sp.c\
obj/add_sq.c\
obj/add_tr.c\
misc/geo_op.c\
misc/mlx_comp.c\
misc/operators.c\
misc/rgb_hex.c\
misc/vectors_0.c\
misc/vectors_1.c\
gnl/get_next_line_bonus.c\
parse/settings.c\
parse/def_ft.c\
parse/def_obj.c\
parse/def_sp.c\
parse/def_pl.c\
parse/def_cy.c\
parse/def_sq.c\
parse/def_tr.c\
parse/def_bx.c\
parse/elements.c\
parser.c\
save.c\
OBJ = main.o\
cam_calc.o\
dist.o\
init.o\
ft_init.o\
mouse.o\
keyboard.o\
raymarching.o\
test_func.o\
bx.o\
cy.o\
pl.o\
sp.o\
sq.o\
tr.o\
add_bx.o\
add_cy.o\
add_l.o\
add_c.o\
add_pl.o\
add_sp.o\
add_sq.o\
add_tr.o\
geo_op.o\
mlx_comp.o\
operators.o\
rgb_hex.o\
vectors_0.o\
vectors_1.o\
get_next_line_bonus.o\
settings.o\
def_ft.o\
def_obj.o\
def_sp.o\
def_pl.o\
def_cy.o\
def_sq.o\
def_tr.o\
def_bx.o\
elements.o\
parser.o\
save.o\
MLX = minilibx-linux-master/*.a
LFT = libft/libft.a
CFLAGS = -Wall -Werror -Wextra
LFLAGS = -L.. -lmlx -lXext -lX11 -lm -lbsd
all: $(NAME)
$(NAME):
make -C libft
gcc -c $(SRC)
gcc $(CFLAGS) $(OBJ) $(LFT) $(MLX) $(LFLAGS) -o $(NAME)
clean:
make -C libft clean
rm -rf $(OBJ)
fclean: clean
make -C libft fclean
rm -rf $(NAME)
re: fclean all
norminette:
norminette $(SRC) libft/*
.PHONY: all clean fclean re test