From: Jean Privat Date: Fri, 25 Nov 2011 16:17:52 +0000 (-0500) Subject: tools: make performs the boostrap in src X-Git-Tag: v0.5~35^2~2 X-Git-Url: http://nitlanguage.org tools: make performs the boostrap in src Since src/nc does the same job that the rule bin/nitc in the Makefile, it is a good idea to share the same .nit_compile and ccache results. Signed-off-by: Jean Privat --- diff --git a/Makefile b/Makefile index fa95668..d96989b 100644 --- a/Makefile +++ b/Makefile @@ -23,14 +23,14 @@ bin/nitc: c_src/nitc src/parser/parser.nit @echo '* Compile nitc from NIT source files *' @echo '***************************************************************' src/git-gen-version.sh - c_src/nitc ${NITCOPT} --clibdir c_src/clib -o bin/nitc -O -v src/nitc.nit + cd src; ../c_src/nitc ${NITCOPT} --clibdir ../c_src/clib -o ../bin/nitc -O -v nitc.nit bin/nitdoc: bin/nitc @echo '***************************************************************' @echo '* Compile nitdoc from NIT source files *' @echo '***************************************************************' src/git-gen-version.sh - bin/nitc ${NITCOPT} -o bin/nitdoc -O -v src/nitdoc.nit + cd src; ../bin/nitc ${NITCOPT} -o ../bin/nitdoc -O -v nitdoc.nit doc/stdlib/index.html: bin/nitdoc @echo '***************************************************************'