From 468d917c1b41a3ed91c00a2e721efbb51fc0938c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 14 Oct 2023 23:34:35 -0400 Subject: Makefile, .gitignore: add "doc" target, ignore generated api documentation --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) 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) -- cgit v1.2.3