mkcsrc: bootstrap with `nith` instead of `nitg`
authorJean Privat <jean@pryen.org>
Tue, 13 May 2014 19:15:15 +0000 (15:15 -0400)
committerJean Privat <jean@pryen.org>
Thu, 15 May 2014 14:51:01 +0000 (10:51 -0400)
also use `--semi-global` to produce efficien and smaller code.

Signed-off-by: Jean Privat <jean@pryen.org>

src/mkcsrc

index a529c3d..a408697 100755 (executable)
@@ -4,8 +4,8 @@ out=c_src
 rm -r "$out/" 2> /dev/null
 set -e
 set -x
-src/nitg src/nitg.nit -v "$@" --compile-dir "$out" -o "$out/nitg" --no-cc
-cp "$out/nitg.mk" "$out/Makefile"
+src/nitg src/nith.nit --semi-global -v "$@" --compile-dir "$out" -o "$out/nitg" --no-cc
+cp "$out/nith.mk" "$out/Makefile"
 sed -i -e "s#../$out/##g" "$out/Makefile"
 
 # Copy all direct dependencies