From: Jean Privat Date: Fri, 3 Apr 2015 05:30:46 +0000 (+0700) Subject: benchs/markdown: fix location of nitc X-Git-Tag: v0.7.4~39^2~5 X-Git-Url: http://nitlanguage.org benchs/markdown: fix location of nitc do not assume $PATH and make it modifiable Signed-off-by: Jean Privat --- diff --git a/benchmarks/markdown/benches/Makefile b/benchmarks/markdown/benches/Makefile index 641c47e..4cb8c36 100644 --- a/benchmarks/markdown/benches/Makefile +++ b/benchmarks/markdown/benches/Makefile @@ -14,10 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +NITC=../../../bin/nitc + all: out gen_benches: - nitc gen_benches.nit + $(NITC) gen_benches.nit out: gen_benches ./gen_benches ./plain.md -o ./out diff --git a/benchmarks/markdown/engines/nitmd/Makefile b/benchmarks/markdown/engines/nitmd/Makefile index 6424382..256ddfe 100644 --- a/benchmarks/markdown/engines/nitmd/Makefile +++ b/benchmarks/markdown/engines/nitmd/Makefile @@ -14,13 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. +NITC=../../../../bin/nitc + all: nitmd nitmd-o nitmd: - nitc nitmd.nit + $(NITC) nitmd.nit nitmd-o: - nitc --semi-global nitmd.nit -o $@ + $(NITC) --semi-global nitmd.nit -o $@ test: all ./nitmd ../../benches/hello.md 5