forked from iijung/minishell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (31 loc) · 1.29 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: minjungk <minjungk@student.42seoul.kr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/01/24 23:02:03 by minjungk #+# #+# #
# Updated: 2023/05/22 17:28:04 by minjungk ### ########.fr #
# #
# **************************************************************************** #
.DEFAULT_ON_ERROR:
.DEFAULT_GOAL := all
MINISHELL = minishell
all bonus $(MINISHELL):
$(MAKE) -C external
$(MAKE) -C lib
$(MAKE) -C src
cp ./src/$(MINISHELL) $(MINISHELL)
re: fclean
$(MAKE) all
clean:
$(MAKE) -C external clean
$(MAKE) -C lib clean
$(MAKE) -C src clean
fclean:
$(MAKE) -C external fclean
$(MAKE) -C lib fclean
$(MAKE) -C src fclean
$(RM) $(MINISHELL)
.PHONY: all clean fclean re bonus $(MINISHELL)