add rebuild target
add log file for rebuild target
add single_test target and its output file