diff --git a/libft/Makefile b/libft/Makefile index 98af795..5f20462 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -6,7 +6,7 @@ # By: gbaconni +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/10/22 09:10:00 by gbaconni #+# #+# # -# Updated: 2021/10/22 11:34:33 by gbaconni ### ########.fr # +# Updated: 2021/10/22 11:12:29 by gbaconni ### ########.fr # # # # **************************************************************************** # # @@ -43,8 +43,8 @@ a: update compile @./$(OUT) || true b: compile - @grep -q 'update message' libftTester/Makefile && sed -i '' -r 's/update (message)/\1/g' libftTester/Makefile || true - @grep -q '/libft$$' libftTester/Makefile || sed -i '' -r 's/^(PARENT_DIR.*)/\1\/libft/' libftTester/Makefile || true + @grep -q 'update message' libftTester/Makefile && sed -i'' -r 's/update (message)/\1/g' libftTester/Makefile || true + @grep -q '/libft$$' libftTester/Makefile || sed -i'' -r 's/^(PARENT_DIR.*)/\1\/libft/' libftTester/Makefile || true @make -C libftTester m || true @make -C libftTester b || true diff --git a/libft/README.md b/libft/README.md index 5b1e684..1f95d17 100644 --- a/libft/README.md +++ b/libft/README.md @@ -16,6 +16,11 @@ ln -snf ../../42/libft/git libft ln -snf ../libft libft ``` +Only for Linux +``` +sudo apt-get install -qq -y make gcc clang valgrind +``` + ## Update ```