2021-10-22 10:33:46
This commit is contained in:
@@ -6,6 +6,11 @@ Create a link to the base of your libft
|
|||||||
(the one with libft.a and all ft_ and Makefile files)
|
(the one with libft.a and all ft_ and Makefile files)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
git clone --recurse-submodules https://vogsphere.baco.net/baco/42test.git
|
||||||
|
git submodule update --init
|
||||||
|
|
||||||
|
cd 42test/libft
|
||||||
|
|
||||||
ln -snf $(find ~ -mindepth 2 -maxdepth 4 -name libft.h -exec dirname "{}" \; 2>/dev/null | head -n1) libft
|
ln -snf $(find ~ -mindepth 2 -maxdepth 4 -name libft.h -exec dirname "{}" \; 2>/dev/null | head -n1) libft
|
||||||
|
|
||||||
# You can also specify the path to your libft
|
# You can also specify the path to your libft
|
||||||
@@ -17,6 +22,8 @@ ln -snf ../libft libft
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
cd 42test/libft
|
||||||
|
|
||||||
make test
|
make test
|
||||||
|
|
||||||
# or
|
# or
|
||||||
|
|||||||
Reference in New Issue
Block a user