370 |
if test $KIND = 1 -o $KIND = 2 ; then |
if test $KIND = 1 -o $KIND = 2 ; then |
371 |
command="$command --mods=../code_ad" |
command="$command --mods=../code_ad" |
372 |
elif test $KIND = 4 ; then |
elif test $KIND = 4 ; then |
373 |
command="$command -adof ../../../tools/adjoint_options/adjoint_oad -mods '../code_oad ../../OpenAD/code_oad_all'" |
command="$command -adof ../../../tools/adjoint_options/adjoint_oad -mods ../code_oad" |
374 |
else |
else |
375 |
command="$command -mods=../code" |
command="$command -mods=../code" |
376 |
fi |
fi |
429 |
makeclean() |
makeclean() |
430 |
{ |
{ |
431 |
# makeclean directory |
# makeclean directory |
432 |
if test "x$NODEPEND" = xf ; then rm -f $1/make.tr_log ; fi |
if test "x$NOGENMAKE" = xf ; then rm -f $1/make.tr_log ; fi |
433 |
if test "x$NOCLEAN" = xt ; then |
if test "x$NOCLEAN" = xt ; then |
434 |
echo "make Clean skipped!" |
echo "make Clean skipped!" |
435 |
else |
else |