2021-10-23 11:13:00

This commit is contained in:
marvin
2021-10-23 11:13:00 +02:00
parent b4cf3ceca5
commit 7f721c1708

View File

@@ -6,7 +6,7 @@
# By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/10/22 09:10:00 by gbaconni #+# #+# #
# Updated: 2021/10/23 10:30:24 by gbaconni ### ########.fr #
# Updated: 2021/10/23 11:12:55 by gbaconni ### ########.fr #
# #
# **************************************************************************** #
#
@@ -49,7 +49,7 @@ setup:
@echo "Set the location of your libft to:"
@ln -snvf $$(find ~ -mindepth 2 -maxdepth 4 -name libft.a -type f -exec dirname "{}" \; 2>/dev/null | head -n1) libft
@echo ""
@echo "If the above is not correct the correct location of your libft, use one of the following command to fix it:"
@echo "If the above is not the correct location of your libft, use one of the following command to fix it:"
@find ~ -mindepth 2 -maxdepth 4 -name libft.h -type f -exec dirname "{}" \; 2>/dev/null | xargs -r -I{} echo ln -snvf {} libft
help:
@@ -62,6 +62,9 @@ help:
a: update compile
@./$(OUT) || true
@echo ""
@echo "Summary:"
@./$(OUT) 2>&1 | grep -i -e 'error' -e 'tests successful'|| true
b: compile
@grep -q 'update message' libftTester/Makefile && sed -i'.orig' -e 's/update \(message\)/\1/g' libftTester/Makefile || true