projects
/
Digiteq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3898103
)
Make make fclean clean all subprojects
author
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 2 Apr 2024 14:12:04 +0000
(16:12 +0200)
committer
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 2 Apr 2024 14:12:04 +0000
(16:12 +0200)
solution/Makefile
patch
|
blob
|
history
diff --git
a/solution/Makefile
b/solution/Makefile
index 87ffafe4168d480a25cac983ff2b52422034bfb0..40361147eb1c83c661a15676a2ff79bf86309ed7 100644
(file)
--- a/
solution/Makefile
+++ b/
solution/Makefile
@@
-47,8
+47,10
@@
endif
clean :
$(RM) $(OBJECTS)
-fclean : clean
+fclean :
+ $(RM) $(OBJECTS)
$(RM) $(NAME)
+ $(foreach proj, $(SUBPROJECTS), $(MAKE) -C $(proj) fclean)
re : fclean
$(MAKE) all