-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
26 lines (25 loc) · 1.18 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
# **************************************************************************** #
# #
# ::: :::::::: #
# makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: nhamid <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/03/18 11:42:51 by nhamid #+# #+# #
# Updated: 2019/03/18 11:55:32 by nhamid ### ########.fr #
# #
# **************************************************************************** #
NAME = fractol
all : $(NAME)
$(NAME) :
make -C libft
gcc -c *.c -pthread
gcc -Wall -Wextra -Werror -L /usr/local/lib -lmlx -framework OpenGL -framework AppKit *.o libft/libft.a -o $(NAME)
clean :
rm -rf *.o
make -C libft clean
fclean : clean
rm -rf $(NAME)
make -C libft fclean
re : fclean all
make -C libft re