do not assume $PATH and make it modifiable
Signed-off-by: Jean Privat <jean@pryen.org>
# 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
# 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