update Makefile

Use the correct syntax to monitor header file changes.
update log

Let the log level be more clear. DEBUG is mainly used to print the
transmitted data.