Compile and link