-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
68 lines (54 loc) · 1.82 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: zwalad <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/03/08 16:43:16 by zwalad #+# #+# #
# Updated: 2022/03/23 22:32:19 by zwalad ### ########.fr #
# #
# **************************************************************************** #
NAME := push_swap
BONUSS := checker
CC := gcc
FLAGS := -Wall -Wextra -Werror
RM = @rm -f
SRC := push_swap.c \
los_ab_hermanos.c \
los_a_hermanos.c \
los_b_hermanos.c \
lst_utils.c \
lil_libft.c \
lil_libft2.c \
lil_main.c \
ps_utils.c \
ft_printf/ft_printf.c \
ft_printf/ft_help.c \
ft_printf/ft_help2.c \
ps_lot.c \
ps_help.c \
BONS := check/checkerr.c \
check/bonus_a_hermanos.c \
check/bonus_b_hermanos.c \
check/bonus_ab_hermanos.c \
check/bonus_help.c \
check/bonus_libft.c \
check/bonus_libft2.c \
check/lst_bonus.c \
check/utils_bonus.c \
ft_printf/ft_printf.c \
ft_printf/ft_help.c \
ft_printf/ft_help2.c \
get_next_line/get_next_line.c \
get_next_line/get_next_line_utils.c \
get_next_line/get_next_line.h \
all: $(NAME)
$(NAME): $(SRC)
$(CC) $(SRC) -o $(NAME) $(FLAGS)
bonus: $(BONUSS)
$(BONUSS): $(BONS)
$(CC) $(BONS) -o $(BONUSS) $(FLAGS)
fclean:
$(RM) $(NAME) $(BONUSS)
re: fclean all