diff --git a/build_win.bat b/build_win.bat index 1f980438..225197bc 100644 --- a/build_win.bat +++ b/build_win.bat @@ -30,15 +30,15 @@ mkdir build\mainclient @if errorlevel 1 goto :BUILDFAIL @rem Generate the embedded sources -@build\xxd.exe src\core\core.janet build\core\core.gen.c janet_gen_core +@build\xxd.exe src\core\core.janet build\core.gen.c janet_gen_core @if errorlevel 1 goto :BUILDFAIL -@build\xxd.exe src\mainclient\init.janet build\mainclient\init.gen.c janet_gen_init +@build\xxd.exe src\mainclient\init.janet build\init.gen.c janet_gen_init @if errorlevel 1 goto :BUILDFAIL @rem Build the generated sources -@%JANET_COMPILE% /Fobuild\core\core.gen.obj build\core\core.gen.c +@%JANET_COMPILE% /Fobuild\core\core.gen.obj build\core.gen.c @if errorlevel 1 goto :BUILDFAIL -@%JANET_COMPILE% /Fobuild\mainclient\init.gen.obj build\mainclient\init.gen.c +@%JANET_COMPILE% /Fobuild\mainclient\init.gen.obj build\init.gen.c @if errorlevel 1 goto :BUILDFAIL @rem Build the sources diff --git a/tools/amalg.janet b/tools/amalg.janet index 59e104a1..1a6270f9 100644 --- a/tools/amalg.janet +++ b/tools/amalg.janet @@ -6,9 +6,6 @@ (defn dofile "Print one file to stdout" [path] - (def path (if (= (os/which) :windows) - (string/replace "/" "\\" path) - path)) (print (slurp path))) # Order is important here, as some headers