Update the makefile
This commit is contained in:
parent
c51ed294c1
commit
67738d4d7a
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
# By: rparodi <marvin@42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||
# Updated: 2023/11/13 19:10:24 by rparodi ### ########.fr #
|
||||
# Updated: 2023/12/27 18:32:57 by raphael ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -27,6 +27,9 @@ RED = \033[0;31m
|
|||
GOLD = \033[38;5;220m
|
||||
END = \033[0m
|
||||
|
||||
all: header $(NAME)
|
||||
@printf '\n$(GREY) Compilation$(END)$(GREEN) Done$(END)\n'
|
||||
|
||||
header:
|
||||
@clear
|
||||
@printf '\n$(GOLD) ******* ***** ******* $(END)\n'
|
||||
|
|
@ -50,9 +53,6 @@ $(NAME): $(OBJ) $(OBJBonus)
|
|||
@printf '$(GREY) Compiling $(END)$(GREEN)$<$(END)\n'
|
||||
@$(CC) -I. -o $@ -c $? $(CFLAGS)
|
||||
|
||||
all: header $(NAME)
|
||||
@printf '\n$(GREY) Compilation$(END)$(GREEN) Done$(END)\n'
|
||||
|
||||
bonus: $(OBJ) $(OBJBonus)
|
||||
@printf '$(GREY) Compiling $(END)$(GOLD)$(NAME)$(END)\n'
|
||||
@ar rc $(NAME) $(OBJ) $(OBJBonus)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue