From d590b2e6400c1da13944387d166623aed11d3923 Mon Sep 17 00:00:00 2001 From: Guy Baconniere Date: Wed, 27 Oct 2021 10:07:58 +0200 Subject: [PATCH] 2021-10-27 10:07:58 --- libft/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/libft/Makefile b/libft/Makefile index 895eb6e..583a65a 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/27 09:53:24 by gbaconni ### ########.fr # +# Updated: 2021/10/27 10:07:41 by gbaconni ### ########.fr # # # # **************************************************************************** # # @@ -68,7 +68,8 @@ help: @echo "c: jtoty/Libftest" @echo "d: alelievr/libft-unit-test (tests)" @echo "e: alelievr/libft-unit-test (bench)" - @echo "test: a b c d e" + @echo "f: ysoroko/ft_split_tester" + @echo "test: a b c d e f" @echo "bonus: only test bonuses" @echo "update: git pull" @@ -114,11 +115,16 @@ d: compile _libft-unit-test @echo "" @rm -f libft/libft.so -#e: compile _libft-unit-test e: fast _libft-unit-test @make -C libft-unit-test b || true - -test: a b c d + +_FT_SPLIT_TESTER: + @grep -q '../*.c' FT_SPLIT_TESTER/Makefile && sed -i'.orig' -e 's/\.\.\/\*\.c/..\/libft\/ft_split.c ..\/libft\/ft_bzero.c ..\/libft\/ft_calloc.c ..\/libft\/ft_memcpy.c ..\/libft\/ft_memset.c ..\/libft\/ft_strlen.c/' FT_SPLIT_TESTER/Makefile || true + +f: compile _FT_SPLIT_TESTER + @make -C FT_SPLIT_TESTER all || true + +test: a b c d e f bonus: _libftTester _Libftest _libft-unit-test @make -C libft bonus