From cbeaac86ac54ebc156df3f6e9333e6d60cd43d5a Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 21 Mar 2025 16:27:06 +0100 Subject: [PATCH] add rm tests in makefile fclean rule --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dff0036..b9765ff 100755 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ LFT_DIR = libft/ all: libft_malloc.so -tests: $(OBJS_DIR) $(NAME) $(LFT) tests.c +tests: $(OBJS_DIR) libft_malloc.so $(LFT) tests.c $(CC) -o tests $(FLAGS) tests.c -L. -lft_malloc $(LFT) -Wl,-rpath=. libft_malloc.so: $(NAME) @@ -67,6 +67,7 @@ clean: fclean: clean rm -f "$(NAME)" rm -f libft_malloc.so + rm -f tests re: fclean all