build(C/make): adding the debug rules
This commit is contained in:
parent
7f97967484
commit
763682e680
1 changed files with 5 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||
# Updated: 2026/03/17 14:11:46 by rparodi ### ########.fr #
|
||||
# Updated: 2026/03/17 15:10:44 by rparodi ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -159,6 +159,9 @@ tmux:
|
|||
@tmux select-window -t $(NAME):0
|
||||
@tmux attach-session -t $(NAME)
|
||||
|
||||
debug: CFLAGS += -g
|
||||
debug: re
|
||||
|
||||
clangd:
|
||||
@printf "CompileFlags:\n" > ./.clangd
|
||||
@printf " Add:\n" >> ./.clangd
|
||||
|
|
@ -171,4 +174,4 @@ clangd:
|
|||
@printf '$(GREY) Now parsing settings is set in $(END)$(GREEN)./.clangd$(END)\n'
|
||||
|
||||
# Phony targets
|
||||
.PHONY: all clean fclean re clangd tmux header footer
|
||||
.PHONY: all clean fclean re clangd tmux header footer debug
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue