Skip to content
Snippets Groups Projects
Commit ef789b53 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Fix out-of-source generation of cdilib.c

parent c8125ab8
No related branches found
No related tags found
2 merge requests!71Develop,!69Autotools compatibility
......@@ -226,8 +226,8 @@ echo "#undef malloc" >> ${PROG}
echo "#undef calloc" >> ${PROG}
echo "#undef free" >> ${PROG}
echo "#undef DOUBLE_PRECISION" >> ${PROG}
cat $srcdir/cfortran.h >> ${PROG}
cat `if test -f cfortran.h; then echo cfortran.h; else echo $srcdir/cfortran.h; fi;` >> ${PROG}
echo "#endif" >> ${PROG}
cat $srcdir/cdiFortran.c >> ${PROG}
cat `if test -f cdiFortran.c; then echo cdiFortran.c; else echo $srcdir/cdiFortran.c; fi;` >> ${PROG}
exit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment