mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 02:59:54 +00:00
Move tools out of src (src should be
only code that goes into final binary).
This commit is contained in:
parent
6f64b0c152
commit
21d4b8fe1f
2
Makefile
2
Makefile
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user