Porting bld to linux

This commit is contained in:
Krzosa Karol
2024-01-05 13:03:04 +01:00
parent 7c9c337194
commit 84f8cb1596
9 changed files with 96 additions and 33 deletions

View File

@@ -259,8 +259,8 @@ int Run(Strs s) {
}
#ifndef BLD_MAIN
int Main();
int main() {
int Main();
SRC_InitCache(Perm, S8_Lit("buildfile.cache"));
int result = Main();
if (result == 0) SRC_SaveCache();