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.
# See the License for the specific language governing permissions and
# limitations under the License.
+NITC=../../../bin/nitc
+
+ $(NITC) gen_benches.nit
out: gen_benches
./gen_benches ./plain.md -o ./out
out: gen_benches
./gen_benches ./plain.md -o ./out
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+NITC=../../../../bin/nitc
+
all: nitmd nitmd-o
nitmd:
all: nitmd nitmd-o
nitmd:
- nitc --semi-global nitmd.nit -o $@
+ $(NITC) --semi-global nitmd.nit -o $@
test: all
./nitmd ../../benches/hello.md 5
test: all
./nitmd ../../benches/hello.md 5