Improve Makefile
authorLukas Jiriste <ljiriste@student.42prague.com>
Sat, 31 Aug 2024 09:06:49 +0000 (11:06 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sat, 31 Aug 2024 09:06:49 +0000 (11:06 +0200)
commit1151dec13293e897cc27d022f549822db510b1a5
treee56550cea63381397291213bcb11e38734b8d8ae
parenta17f3f9c9ad50bcb61d6a3da356e7fe0e632f0bc
Improve Makefile

Make now tries to build Libft everytime but when libft.a stays the same
(no change made in Libft) the libft.a is considered not changed.
Before the libft.a was assumed to never be up to date (PHONY) hence the
minishell was always rebuilt.
Before that even the changes in Libft didn't trigger building of libft.a
when minishell make was run.
Makefile