From d2297b7c92136d926eb88881de892628e23b2e7b Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 25 Nov 2011 11:17:52 -0500 Subject: [PATCH] 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '***************************************************************' -- 1.7.9.5