add targets for compile; delete core dump file when clean the build