From 20f25d03aab0f075c2059343983d3023e7ad3138 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 3 Apr 2015 12:30:46 +0700 Subject: [PATCH] benchs/markdown: fix location of nitc do not assume $PATH and make it modifiable Signed-off-by: Jean Privat --- benchmarks/markdown/benches/Makefile | 4 +++- benchmarks/markdown/engines/nitmd/Makefile | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 1.7.9.5