1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 04:19:55 +00:00

Move tools out of src (src should be

only code that goes into final binary).
This commit is contained in:
Calvin Rose 2018-12-09 17:49:00 -05:00
parent 6f64b0c152
commit 21d4b8fe1f
4 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ emscripten: $(JANET_EMTARGET)
##### Generated C files ##### ##### Generated C files #####
############################# #############################
build/xxd: src/tools/xxd.c build/xxd: tools/xxd.c
$(CC) $< -o $@ $(CC) $< -o $@
build/core.gen.c: src/core/core.janet build/xxd build/core.gen.c: src/core/core.janet build/xxd

View File

@ -24,7 +24,7 @@ mkdir build\core
mkdir build\mainclient mkdir build\mainclient
@rem Build the xxd tool for generating sources @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 @if errorlevel 1 goto :BUILDFAIL
@link /nologo /out:build\xxd.exe build\xxd.obj @link /nologo /out:build\xxd.exe build\xxd.obj
@if errorlevel 1 goto :BUILDFAIL @if errorlevel 1 goto :BUILDFAIL