projects
/
42
/
minitalk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eada97
)
Repair Makefile so it correctly initializes Libft
author
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 23 Jan 2024 07:58:03 +0000
(08:58 +0100)
committer
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 23 Jan 2024 07:58:03 +0000
(08:58 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index e79a2124f4e907493837dec0ed9d4ab5a09ac171..e71a430e28c1492f27c5f307c47b601be3b98635 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-39,7
+39,9
@@
server : $(SERVOBJECTS) Libft/libft.a
client : $(CLIOBJECTS) Libft/libft.a
$(CC) $(CFLAGS) -o $@ $^
-Libft/libft.a :
+# Libft is not dependant on all subprojects (only itself)
+# but this shouldn't be a problem, as the project needs to download all anyway
+Libft/libft.a : | $(SUBINCDIR)
ifneq (,$(findstring debug, $(MAKECMDGOALS)))
$(MAKE) -C Libft debug
else