-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (32 loc) · 1.47 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: segarcia <segarcia@student.42heilbronn. +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/08/23 11:05:56 by segarcia #+# #+# #
# Updated: 2022/10/19 11:18:04 by segarcia ### ########.fr #
# #
# **************************************************************************** #
FRAEMWORKS = -framework OpenGL -framework AppKit
FLAGS = -Werror -Wextra -Wall
NAME = fdf
SRC = src/*.c
INCLUDES = ft_libft/ft_bonus/libft_ft_bonus.a \
ft_libft/ft_extra/libft_ft_extra.a \
ft_libft/ft_func/libft_ft_func.a \
ft_libft/ft_printf/libftprintf.a \
ft_libft/get_next_line/get_next_line.a \
minilibx_macos/libmlx.a
all:
@make -C ft_libft/ all
@make -C minilibx_macos/ all
gcc $(SRC) -o $(NAME) $(FLAGS) $(INCLUDES) $(FRAEMWORKS)
clean:
@make -C ft_libft/ clean
@make -C minilibx_macos/ clean
fclean: clean
/bin/rm -f $(NAME)
@make -C ft_libft/ fclean
re: fclean all