summaryrefslogtreecommitdiffstats
path: root/doxygen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doxygen/Makefile')
-rw-r--r--doxygen/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
new file mode 100644
index 0000000..13e1d96
--- /dev/null
+++ b/doxygen/Makefile
@@ -0,0 +1,20 @@
+SHELL := bash
+.ONESHELL:
+.SHELLFLAGS := -eu -o pipefail -c
+.DELETE_ON_ERROR:
+MAKEFLAGS += --warn-undefined-variables
+MAKEFLAGS += --no-builtin-rules
+
+ifeq ($(origin .RECIPEPREFIX), undefined)
+ $(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
+endif
+.RECIPEPREFIX = >
+
+ifdef PROGRAMFILES
+DOXYGEN=C:/Program\ Files/doxygen/bin/doxygen.exe
+else
+DOXYGEN=doxygen
+endif
+
+build:
+> $(DOXYGEN) Doxyfile