Ergodic optimization theory for non-degenerate Axiom A flows