generalize .S compilation target flags