add rm tests in makefile fclean rule

This commit is contained in:
2025-03-21 16:27:06 +01:00
parent b615607592
commit cbeaac86ac

View File

@ -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