now compile and link is done in a single step