compile multipe src files, change option setting method