makefile: refactoring, avoid using IFS