summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-10-14 23:34:35 -0400
committerPaul Duncan <pabs@pablotron.org>2023-10-14 23:34:35 -0400
commit468d917c1b41a3ed91c00a2e721efbb51fc0938c (patch)
tree4548291d40ddeab318cb0d63297e3701df995993 /Makefile
parentc6f3716c64612981375fd8e8c1efa2cc380a2991 (diff)
downloadsha3-468d917c1b41a3ed91c00a2e721efbb51fc0938c.tar.bz2
sha3-468d917c1b41a3ed91c00a2e721efbb51fc0938c.zip
Makefile, .gitignore: add "doc" target, ignore generated api documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fc8945e..520aabf 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@ $(LIB): $(LIB_OBJS)
test:
$(CC) -o $(TEST_APP) $(TEST_CFLAGS) -DSHA3_TEST sha3.c && $(TEST_APP)
+# build API documentation (requires doxygen)
+doc:
+ doxygen sha3.h
+
# remove build files
clean:
$(RM) -f $(TEST_APP) $(APP) $(APP_OBJS) $(LIB) $(LIB_OBJS)