aboutsummaryrefslogtreecommitdiff
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
parentc6f3716c64612981375fd8e8c1efa2cc380a2991 (diff)
downloadsha3-468d917c1b41a3ed91c00a2e721efbb51fc0938c.tar.bz2
sha3-468d917c1b41a3ed91c00a2e721efbb51fc0938c.zip
Makefile, .gitignore: add "doc" target, ignore generated api documentation
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 96476ba..a0aeaa5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@ test-sha3
sha3
*.o
libsha3.so
+html
+latex
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)