-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
78 lines (66 loc) · 1.62 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
##
## Makefile for rtv1 in /home/colin/Desktop/igraph/rtv1##
## Made by colin## Login <colin@epitech.net>
##
## Started on Tue Jan 21 00:41:49 2014 colin
## Last update Sun Jun 8 21:38:57 2014 Colin Coudray
##
## aux/save_img.c \
## aux/convert_jpeg.c \
##
CC = gcc
NAME = rt
RTQT = RTqt
SRC = main.c \
aux/aux_mlx.c \
aux/aux.c \
aux/aux2.c \
aux/calc_aux.c \
aux/my_str_to_word_tab.c \
aux/get_next_line.c \
aux/save_img.c \
parsing/parsing.c \
parsing/init_cam.c \
parsing/init_light.c \
parsing/init_leaf.c \
parsing/init_obj.c \
calculs/set_sphere.c \
calculs/set_cone.c \
calculs/set_cylindre.c \
calculs/set_plan.c \
calculs/rota.c \
calculs/calc_solution.c \
calculs/solve_eq_3rd.c \
calculs/solve_eq_4th.c \
calculs/set_blob.c \
calculs/set_cubeh.c \
calculs/set_triangle.c \
image/color_obj.c \
image/draw_img.c \
image/calc_color.c \
image/effects.c \
image/noisecp.c \
image/color_noise.c \
image/vect_calc.c \
image/filters.c \
image/calc_color_aux.c \
image/calc_color_utils.c \
image/background_img.c \
image/load_celshader.c \
image/sobel_filter.c \
image/bump_mapping.c \
JPEG/compress_jpeg.c \
JPEG/decompress_jpeg.c \
JPEG/image_conversion_format.c
OBJ = $(SRC:.c=.o)
LIB = -L/usr/X11/lib -lmlx -lXext -lX11 -lm -ljpeg -framework OpenGL -framework AppKit
CFLAGS += -W -Wall -ofast -I./includes/ -I/usr/X11/include
all: $(NAME)
$(NAME): $(OBJ)
$(CC) -o $(NAME) $(OBJ) $(LIB)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
rm -fr $(RTQT)
re: fclean all