forked from LowLevelDevs/FoundryOS
14 lines
357 B
Rust
14 lines
357 B
Rust
use std::process::Command;
|
|
use std::{env, path::Path};
|
|
use cc;
|
|
|
|
fn main() {
|
|
// Tell cargo to rerun if these files change
|
|
println!("cargo:rerun-if-changed=src");
|
|
println!("cargo:rerun-if-changed=linker.ld");
|
|
println!("cargo:rerun-if-changed=../config/limine.conf");
|
|
|
|
cc::Build::new()
|
|
.file("src/main.c")
|
|
.compile("lib");
|
|
} |