add log
bugfix: makefile