-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (26 loc) · 1.21 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: cbrichau <cbrichau@student.s19.be> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/05/17 17:11:54 by cbrichau #+# #+# #
# Updated: 2020/01/11 14:31:48 by lhenneca ### ########.fr #
# #
# **************************************************************************** #
NAME = push_swap
FLAGS = -Wall -Wextra -Werror
C_FILES = main.c checker.c instructions.c push_swap.c init.c
all: $(NAME)
$(NAME): getlibft
gcc $(FLAGS) $(C_FILES) libft/libft.a -o $(NAME)
getlibft:
make -C libft
clean:
/bin/rm -f *.o
/bin/rm -f libft/*.o
fclean: clean
/bin/rm -f $(NAME) libft.a
/bin/rm -f libft/libft.a
re: fclean all