feat: added texteures for test as a/b + added auto clangd creation in Makefile

This commit is contained in:
B.Goulard 2024-11-18 14:47:56 +01:00
parent 2c01688e6d
commit 565c55dcf5
5 changed files with 218 additions and 14 deletions

View file

@ -6,7 +6,7 @@
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2024/11/12 09:17:25 by bgoulard ### ########.fr #
# Updated: 2024/11/18 14:44:10 by bgoulard ### ########.fr #
# #
# **************************************************************************** #
@ -141,6 +141,17 @@ footer:
@printf "$(GOLD) '\"' '\"'$(END)\n"
@printf ' $(GREY)The compilation is$(END) $(GOLD)finish$(END)\n $(GREY)Have a good $(END)$(GOLD)correction !$(END)\n'
clangd:
@echo -en \
"CompileFlags:\n" \
" Add:\n" \
" - \"-Wall -Wextra -Werror\"\n" \
" - \"-I/opt/X11/include\"\n" \
" - \"-I"$(shell pwd)"/includes\"\n" \
" - \"-I"$(shell pwd)"/includes/include\"\n" \
" - \"-xc\"\n" \
> .clangd
# Phony targets
.PHONY: all bonus clean fclean re