c_src: gives c_src its own clibdir
[nit.git] / src / nc
diff --git a/src/nc b/src/nc
index 80e181a..c6845f6 100755 (executable)
--- a/src/nc
+++ b/src/nc
 
 NITC="../c_src/nitc"
 NITCOPTS= #"-I parser -I metamodel -I syntax -I compiling -I tmp"
+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";;