Makefile: norme: dont halt make when norme errors

This commit is contained in:
Aleksei Chubukov 2023-12-03 17:29:44 +04:00
parent a225cd3249
commit a31f44d552

View File

@ -6,7 +6,7 @@
# By: achubuko <marvin@42.fr> +#+ +:+ +#+ # # By: achubuko <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2023/12/02 21:33:22 by achubuko #+# #+# # # Created: 2023/12/02 21:33:22 by achubuko #+# #+# #
# Updated: 2023/12/02 23:31:19 by achubuko ### ########.fr # # Updated: 2023/12/03 17:29:02 by achubuko ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -39,7 +39,7 @@ re: fclean all
########## PROJECT RULES ############ ########## PROJECT RULES ############
##################################### #####################################
norme: norme:
norminette ex00 norminette ex00 || true
cfiles := $(wildcard ex00/*.c) cfiles := $(wildcard ex00/*.c)
ofiles = $(foreach f, $(cfiles), $(subst .c,.o,$f)) ofiles = $(foreach f, $(cfiles), $(subst .c,.o,$f))
%.o: %.c %.h %.o: %.c %.h