-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 1.27 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
# **************************************************************************** #
# #
# :::::::: #
# Makefile :+: :+: #
# +:+ #
# By: jandre-d <[email protected]> +#+ #
# +#+ #
# Created: 2019/03/30 21:54:59 by jandre-d #+# #+# #
# Updated: 2019/04/01 15:03:02 by jandre-d ######## odam.nl #
# #
# **************************************************************************** #
NAME = fractol
FILES = color error image main math fract/controll fract/fractols fract/init \
fract/input
$(NAME):
cd minilibx_macos && make
cd libft && make
gcc $(FILES:=.c) -lmlx -lft -framework OpenGl -framework AppKit \
-L minilibx_macos/ -Ofast -L libft/ -o $(NAME)
clean:
cd minilibx_macos && make clean
cd libft && make fclean
fclean: clean
rm -f $(NAME)
re: fclean all
all: $(NAME)