fef
8ae3bb2f57
There are most likely gonna be a lot of changes until we reach the final syntax, but this is a good start i think.
28 lines
423 B
Text
28 lines
423 B
Text
set RUSTC_EXE = "rustc";
|
|
set ASM_EXE = "clang";
|
|
set CC_EXE = "clang";
|
|
set LINK_EXE = "ld.lld";
|
|
set BUILD_PREFIX = "build";
|
|
|
|
module kern {
|
|
type exe;
|
|
depend [
|
|
libk,
|
|
arch,
|
|
];
|
|
source "kern/lib.rs";
|
|
}
|
|
|
|
module libk {
|
|
type static; # static library
|
|
depend arch;
|
|
source "libk/lib.rs";
|
|
}
|
|
|
|
module arch {
|
|
type static;
|
|
source [
|
|
"arch/lib.rs",
|
|
"arch/**.nasm",
|
|
];
|
|
}
|