diff --git a/Makefile b/Makefile index 3e3f4e18..388572d0 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ emscripten: $(JANET_EMTARGET) ##### Generated C files ##### ############################# -build/xxd: src/tools/xxd.c +build/xxd: tools/xxd.c $(CC) $< -o $@ build/core.gen.c: src/core/core.janet build/xxd diff --git a/build_win.bat b/build_win.bat index c0168c50..b67a393e 100644 --- a/build_win.bat +++ b/build_win.bat @@ -24,7 +24,7 @@ mkdir build\core mkdir build\mainclient @rem Build the xxd tool for generating sources -@cl /nologo /c src/tools/xxd.c /Fobuild\xxd.obj +@cl /nologo /c tools/xxd.c /Fobuild\xxd.obj @if errorlevel 1 goto :BUILDFAIL @link /nologo /out:build\xxd.exe build\xxd.obj @if errorlevel 1 goto :BUILDFAIL diff --git a/src/tools/symcharsgen.c b/tools/symcharsgen.c similarity index 100% rename from src/tools/symcharsgen.c rename to tools/symcharsgen.c diff --git a/src/tools/xxd.c b/tools/xxd.c similarity index 100% rename from src/tools/xxd.c rename to tools/xxd.c