blob: c69c09a03da596766ab978c0a8953310feadd02e [file] [log] [blame]
// Build the library.
extern crate gcc;
fn main() {
let mut conf = gcc::Config::new();
conf.file("../boot/bootutil/src/loader.c");
conf.file("../boot/bootutil/src/bootutil_misc.c");
conf.file("csupport/run.c");
conf.include("../boot/bootutil/include");
conf.include("../zephyr/include");
conf.debug(true);
conf.compile("libbootutil.a");
}