# 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 $@
-test: nitmd
+test: all
./nitmd ../../benches/hello.md 5
+ ./nitmd-o ../../benches/hello.md 5
clean:
- rm -rf nitmd
+ rm -rf nitmd nitmd-o