- return run_command(ctx, NULL, "cc " CFLAGS " -I%s %s -o %s %s %s %s",
- ccandir, extra_cflags, outfile, cfile, objs, libs);
+ if (compile_verbose)
+ printf("Compiling and linking %s\n", outfile);
+ return run_command(ctx, NULL, output,
+ "%s %s -I%s -o %s %s %s %s",
+ compiler, cflags,
+ ccandir, outfile, cfile, objs, libs);