summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)