Better build target

We currently build the executable examples/swift (and swift_mpi) after having created a static library in /src/.

That's complicated and also confusing for anyone looking for the executable.

  • Can we simplify this?
  • Do we need an intermediate library?
  • Should we instead put the executables in /build/ or at the root?

@jch @bvandenbroucke @pdraper Thoughts welcome!

Edited by Matthieu Schaller