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

@ -13,6 +13,12 @@ to override the functions in an already compile program you need to do this comm
export LD_LIBRARY_PATH=. LD_PRELOAD=libft_malloc.so
```
to compile a program with the lib, you have to add these parameters at the end of your compilation command (for gcc or clang):
```
-L<folder> -lft_malloc
```
## tests
a test program is available at the root. to execute it do the command `make test` and then execute the program that have been compiled with `./tests`