Yields of gamma rays with energies above 1.3 MeV have been studied in coincidence with light fragment isotopes from collisions of carbon, nickel and holmium targets with 35 MeV/u14N ions. The angular distribution of the gamma rays is isotropic. The total number of the coincident gamma rays falls exponentially with fragment angle, but the number of gamma rays per fragment (the multiplicity) is almost independent of fragment angle. For a given fragment isotope the multiplicities with the nickel and holmium targets are equal, but the multiplicity obtained with the carbon target is lower by a factor of from two to six. The hard gamma-ray multiplicities for the nickel and holmium targets tend to be lower when the mass of the coincident light fragment is higher. The results are qualitatively consistent with the assumption that the spectra are dominated by incoherent bremsstrahlung from nucleon-nucleon collision in the nuclear matter heated in the collisions.