aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e80b4e..fb00518 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,9 @@
RM = rm -f
MAKE = make
+DOXYGEN = doxygen
+DOXYGEN_FILE = Doxyfile
+DOC_DIR = doc
TESTEXEC = test.sh
@@ -81,3 +84,9 @@ libft_clean:
.PHONY: libft_fclean
libft_fclean:
$(MAKE) -C $(LIBFTDIR) fclean
+
+doc:
+ $(DOXYGEN) $(DOXYGEN_FILE)
+
+doc_clean:
+ $(RM) -r $(DOC_DIR)