2021-10-23 10:37:02

This commit is contained in:
marvin
2021-10-23 10:37:02 +02:00
parent c30b359b33
commit b4cf3ceca5
3 changed files with 23 additions and 12 deletions

View File

@@ -6,25 +6,24 @@ Create a link to the base of your libft
(the one with libft.a and all ft_ and Makefile files)
```
cd 42test/libft
cd libft
ln -snf $(find ~ -mindepth 2 -maxdepth 4 -name libft.h -exec dirname "{}" \; 2>/dev/null | head -n1) libft
make setup
# You can also specify the path to your libft
ln -snf ~/Projects/libft/git libft
ln -snf ~/42/libft/git libft
ln -snf $HOME/libft libft
# You can also specify the path to your libft manually
ln -snvf $HOME/libft libft
```
Only for Linux
```
sudo apt-get install -qq -y make gcc clang valgrind build-essential
sudo apt-get install -qq -y make gcc clang valgrind libbsd-dev libncurses-dev build-essential
```
## Update
```
cd 42test/libft
cd libft
make update
```