"make clean" does not work on OSX?

Because of OSX .app package, “make clean” seems like it can not delete .app file(directory).
I added following line and it works ok now.

makefileCommon/compile.project.mk
approx. line 418

    rm -rf $(TARGET).app

Is there’s better solution or did I miss something?

that soudns correct, i’ll fix it later in master.

Thanks!!!