Adjustment of Makefile, add new function: daemon_init