# See the License for the specific language governing permissions and
# limitations under the License.
-NITC="../bin/nitc"
-NITCOPTS= #"-I parser -I metamodel -I syntax -I compiling -I tmp"
+NITC="../c_src/nitc"
+NITCOPTS="-v -W"
+CSRC=$` (cd ../c_src; pwd) `
name=`basename $0`
case $name in
- nc) opts="";;
+ nc) opts="--clibdir ../c_src/clib";;
nc2) opts="-p 2"; NITC="./nitc";;
nc3) opts="-p 3"; NITC="./nitc_2";;
nc4) opts="-p 4"; NITC="./nitc_3";;
+ nc5) opts="-p 5"; NITC="./nitc_4";;
*) echo "unknown mode $name"; exit 1;;
esac
+./git-gen-version.sh "$name"
+
echo ${NITC} ${NITCOPTS} ${opts} "$@"
${NITC} ${NITCOPTS} ${opts} "$@"
-