2021-10-23 11:13:00
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
# By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ #
|
# By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2021/10/22 09:10:00 by gbaconni #+# #+# #
|
# 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:"
|
@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
|
@ln -snvf $$(find ~ -mindepth 2 -maxdepth 4 -name libft.a -type f -exec dirname "{}" \; 2>/dev/null | head -n1) libft
|
||||||
@echo ""
|
@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
|
@find ~ -mindepth 2 -maxdepth 4 -name libft.h -type f -exec dirname "{}" \; 2>/dev/null | xargs -r -I{} echo ln -snvf {} libft
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@@ -62,6 +62,9 @@ help:
|
|||||||
|
|
||||||
a: update compile
|
a: update compile
|
||||||
@./$(OUT) || true
|
@./$(OUT) || true
|
||||||
|
@echo ""
|
||||||
|
@echo "Summary:"
|
||||||
|
@./$(OUT) 2>&1 | grep -i -e 'error' -e 'tests successful'|| true
|
||||||
|
|
||||||
b: compile
|
b: compile
|
||||||
@grep -q 'update message' libftTester/Makefile && sed -i'.orig' -e 's/update \(message\)/\1/g' libftTester/Makefile || true
|
@grep -q 'update message' libftTester/Makefile && sed -i'.orig' -e 's/update \(message\)/\1/g' libftTester/Makefile || true
|
||||||
|
|||||||
Reference in New Issue
Block a user