Running a make distclean fails due to the distclean-recursive of parent directory seems to run distclean in an order that removes files required by nodewatcher before nodewatcher is cleaned, resulting in nodewatcher failing due to missing required files. (include XXXX in makefile for nodewatcher, particularly .deps)
I compile just the agent, copy the agent binary, distclean, and then compile the server.
Steps to reproduce:
./configure --enable-agent --enable-static
Attached is output of distclean