finish README.md and tests and fix makefile relink for tests rule

This commit is contained in:
2025-03-21 13:14:26 +01:00
parent 563a200869
commit fb83ac114f
3 changed files with 12 additions and 6 deletions

View File

@ -42,9 +42,8 @@ LFT_DIR = libft/
all: libft_malloc.so
exec: $(OBJS_DIR) $(NAME) $(LFT)
# $(CC) -o a.out $(FLAGS) main.c $(NAME) $(LFT)
$(CC) -o a.out $(FLAGS) tests.c -L. -lft_malloc $(LFT) -Wl,-rpath=.
tests: $(OBJS_DIR) $(NAME) $(LFT) tests.c
$(CC) -o tests $(FLAGS) tests.c -L. -lft_malloc $(LFT) -Wl,-rpath=.
libft_malloc.so: $(NAME)
ln -sf "$(NAME)" libft_malloc.so