[app] Add a compile script for the src directory