-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 1.23 KB
/
Copy pathMakefile
File metadata and controls
41 lines (30 loc) · 1.23 KB
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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: patrisor <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/04/15 01:41:23 by patrisor #+# #+# #
# Updated: 2019/05/01 03:16:38 by patrisor ### ########.fr #
# #
# **************************************************************************** #
NAME = fillit
SRCS = main.c fillit.c
OBJ = *.o
FLAGS = -Wall -Wextra -Werror
all: $(NAME)
$(NAME) :
@make -C libft
@gcc $(FLAGS) -I . -c $(SRCS)
@gcc $(OBJ) -L libft/ -lft -o $(NAME)
clean:
@make -C libft/ clean
@rm -f $(OBJ)
fclean: clean
@make -C libft/ fclean
@rm -f $(NAME)
re: fclean all
coffee:
@sh libft/ignore
.PHONY: clean fclean all re coffee