make deploy run clean, config, libdir, compile; support multiple config/deploy phases