-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 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
34
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: spopieul <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/11/13 20:00:07 by bgeorges #+# #+# #
# Updated: 2018/01/10 13:58:29 by spopieul ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
CC = gcc
OBJS = ft_main.o ft_print.o ft_algo.o ft_parsing.o ft_parsing_check.o ft_algo_utils.o ft_utils.o
FLAGS = -Wall -Wextra -Werror
all: $(NAME)
%.o: %.c
$(CC) $(FLAGS) -c -o $@ $<
$(NAME): $(OBJS)
$(CC) $(OBJS) -o $(NAME)
clean:
rm -rf $(OBJS)
fclean: clean
/bin/rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re