make: s/PROJECT/APPLICATION/g

replaces #1128 and fixes #548