-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·30 lines (24 loc) · 1.31 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: bel-bouz <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2018/12/01 16:38:07 by bel-bouz #+# #+# #
# Updated: 2019/01/14 13:57:28 by bel-bouz ### ########.fr #
# #
# **************************************************************************** #
FLAGS = -Wall -Werror -Wextra
NAME = push_swap
all : $(NAME)
$(NAME):
gcc $(FLAGS) -c ft_helper.c ft_strdup.c ft_strnew.c ft_split_whitespaces.c ft_verifie.c ft_get_next_line.c finding_value.c ft_lib.c ft_instrection.c ft_instrection2.c ft_modife.c ft_affiche.c -I.
gcc $(FLAGS) ft_push_swap.c *.o -o $@
gcc $(FLAGS) ft_checker.c *.o -o checker
clean :
/bin/rm -f *.o
fclean : clean
/bin/rm -f push_swap
/bin/rm -f checker
re : fclean all