Installation - gavinfielder/pft GitHub Wiki
In the root of your repo, run this command:
git clone https://github.com/gavinfielder/pft.git pft && echo "pft/" >> .gitignore
For most users, that is all that is required.
If your libft.a is separate from libftprintf.a:
If you include all required .o files (including your libft) in libftprintf.a, this is not necessary. If you do NOT, and require your libft separate, you must set USE_SEPARATE_LIBFT=1
in the Configuration Options. Make sure that the LIBFT_DIR_PATH
is also accurate.
What if I don't want PFT in my ft_printf repo?
You can clone PFT anywhere you wish and set the LIBFTPRINTF_DIR
option in the Configuration Options to point to your ft_printf repo.
This feature has not been rigorously tested so if you find additional steps are needed or have any other trouble with this, let me know so I can update the documentation.