both fortran and C tests generated in generate_automake_test_programs.py linker flags added by hand -- FIX this