extern crate cc; fn main() { cc::Build::new() .cpp(true) .flag("-O3") .file("liblinear/linear.cpp") .file("liblinear/tron.cpp") .file("liblinear/blas/daxpy.c") .file("liblinear/blas/ddot.c") .file("liblinear/blas/dnrm2.c") .file("liblinear/blas/dscal.c") .include("liblinear") .include("liblinear/blas") .compile("liblinear.a"); }