-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 1.27 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: moana <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2018/01/31 09:36:07 by moana #+# #+# #
# Updated: 2018/01/31 16:24:55 by moana ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
SRCS = srcs/main.c srcs/verificare.c srcs/fillit.c srcs/extra.c srcs/extra1.c srcs/extra2.c
INC = includes/
OBJ = *.o
FLAGS = -Wall -Wextra -Werror
$(NAME) :
@make -C libft
@gcc $(FLAGS) -I $(INC) -c $(SRCS)
@gcc $(OBJ) -L libft/ -lft -o $(NAME)
all: $(NAME)
clean:
@make -C libft/ clean
@rm -f $(OBJ)
fclean: clean
@make -C libft/ fclean
@rm -f $(NAME)
re: fclean all