-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·42 lines (33 loc) · 1.24 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: gsferopo <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/08/21 11:43:10 by gsferopo #+# #+# #
# Updated: 2017/09/05 09:52:20 by gsferopo ### ########.fr #
# #
# **************************************************************************** #
NAME = ft_ls
SRC = ft_ls.c \
sort_list.c \
add.c \
file.c \
get_info.c \
get.c \
lst.c \
read.c
LIB = ./libft/libft.a
INC = -I. -I./libft
FLAGS = -Werror -Wall -Wextra
all:
make -C ./libft
gcc -o $(NAME) $(SRC) $(LIB) $(INC) $(FLAGS)
clean: $(NAME)
make -C ./libft clean
rm $(NAME)
fclean: clean
rm $(LIB)
re: fclean all
make -C ./libft re