Makefile: force `make docs' to depend on all source files
authorBrian Norris <banorris@uci.edu>
Fri, 15 Jun 2012 05:51:30 +0000 (22:51 -0700)
committerBrian Norris <banorris@uci.edu>
Fri, 15 Jun 2012 05:51:30 +0000 (22:51 -0700)
That way, if I change a file that might have documentation comments in it,
`make docs' will rerun doxygen.

Makefile

index fbbc3a1c39419b5fe7527976cfb2966389d338d9..b65830fa2ce0e222d04163c563ec33676aa997b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ mac: LDFLAGS=-ldl
 mac: SHARED=-Wl,-undefined,dynamic_lookup -dynamiclib
 mac: all
 
-docs:
+docs: *.c *.cc *.h
        doxygen
 
 $(BIN): $(USER_O) $(LIB_SO)