s/const \|int \|float \|void \|\*\|\n\|enum \|CBLAS_ORDER \|CBLAS_TRANSPOSE \| //g | s/)/);\r/g
s/flexiblas_time_\([a-z0-9]*\)\[1\]==0\.0/flexiblas_\1.call_cblas==NULL/g
g/flexiblas_time_[a-z0-9]*\[1\]/ s/^\(.*\)$/#ifdef FLEXIBLAS_CBLAS\r\1\r#endif/g
sed -i -r -e 's/flexiblas_time_([a-z0-9]+)/flexiblas_\1.timings/g' -e
's/flexiblas_call_([a-z0-9]+)/flexiblas_\1.calls/g' cblas_d*.c
sed -i -e 's/^\([ \t]*if[ \t]*([ \t]*flexiblas_.*\)$/   if ( __flexiblas_post_init != 0 ) {\n   \t__flexiblas_backend_init();\n   \t__flexiblas_post_init = 0;\n   }\n\1/g' *.c


