-
Notifications
You must be signed in to change notification settings - Fork 0
/
bdemaze
executable file
·140 lines (123 loc) · 2.87 KB
/
bdemaze
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@/bin/rm -f $(NAME)
@/bin/rm -f $(OBJ)
@/bin/rm -rf $(OBJDIR)
@clang $(FLAGS) -I libft/includes -o $@ -c $<
@clang $(FLAGS) -ltermcap -o $(NAME) $(OBJ) -L libft -lft
@echo ""
@echo ""
@echo ""
@echo ""
@echo "\033[31mRemove\033[39m $(NAME)"
@echo "\033[32mCompilation Succeeded\033[39m"
@echo "\n\033[34mCompiling Project Wait...\033[39m"
@make -C libft/
@make -C libft/ fclean
@mkdir -p $(OBJDIR)
@printf "\033[33m. \033[39m"
add_letter.c \
agreg.c \
allwrites.c \
builenv.c \
builenv2.c \
builenv3.c \
cd.c \
cd2.c \
cd3.c \
cursor.c \
designator.c \
designator_string.c \
echo.c \
env.c \
env2.c \
env3.c \
error.c \
error2.c \
free.c \
ft_redirect4.c \
go_words.c \
good_order.c \
hash.c \
hash2.c \
hash3.c \
history.c \
history_option.c \
history_show_func.c \
history_tools.c \
ifcd.c \
is_key1.c \
is_key2.c \
is_key3.c \
is_key4.c \
is_key5.c \
main.c \
main2.c \
main3.c \
new_arg_to_list.c \
newredi1.c \
old_functions.c \
parseandexc.c \
parseandexc2.c \
press_key1.c \
press_key2.c \
press_key3.c \
press_key4.c \
press_key5.c \
press_key6.c \
prompt.c \
setenv.c \
setenv2.c \
shell.c \
shell2.c \
shell3.c \
shell_lvl.c \
signal.c \
space_treatment.c \
split_inib.c \
split_inib_tools.c \
split_on_spec.c \
spliter.c \
term_functions.c \
term_read.c \
term_read2.c \
term_read3.c \
testredi.c \
testredi2.c \
testredi3.c \
testredi4.c \
testredi5.c \
testredi6.c \
testredi7.c \
to_tree.c \
tools.c \
tools2.c \
tools_split.c \
unsetenv.c \
@norminette $(SRC) $(HEADER)
# #
# #
# ::: :::::::: #
# +:+ +:+ +:+ #
# +#+#+#+#+#+ +#+ #
# By: bde-maze <bde-maze@student.42.fr> +#+ +:+ +#+ #
# Created: 2016/05/02 13:52:37 by bde-maze #+# #+# #
# Makefile :+: :+: :+: #
# **************************************************************************** #
# **************************************************************************** #
#* Updated: 2016/09/09 12:48:16 by ### ########.fr *#
$(NAME): compile_lib compile_p $(OBJ)
$(OBJDIR)%.o: %.c
.PHONY: clean fclean clean_proj compile_lib compile_p norm all
FLAGS = -Wall -Werror -Wextra -g3 -O3
HEADER = includes/shell.h
NAME = 21sh
OBJ = $(SRC:%.c=$(OBJDIR)%.o)
OBJDIR = obj/
SRC = builtin_exit_error.c \
all: $(NAME)
clean:
clean_proj:
compile_lib:
compile_p:
fclean: clean
norm:
re: fclean all