add *.d for headers depend, rename ch_mm.c
add system_error_exit for system abort()