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 be53e61..1014e16 100644
--- a/Makefile
+++ b/Makefile
@@ -15,12 +15,15 @@ RM = rm -f
NORM = norminette
MAKE = make
MAKE_ARGS = --no-print-directory
+DOXYGEN = doxygen
+DOXYGEN_FILE = Doxyfile
SRC_DIR = src
INCLUDE_DIR = include
OBJ_DIR = obj
SCRIPT_DIR = script
TEST_DIR = test
+DOC_DIR = doc
INCLUDE_DIR = include
@@ -77,3 +80,9 @@ fclean: clean
@$(RM) $(NAME)
re: fclean all
+
+doc:
+ $(DOXYGEN) $(DOXYGEN_FILE)
+
+doc_clean:
+ $(RM) -r $(DOC_DIR)