Make's war more unappealing to those that are rational, which is the best you can hope for because there is no sure fire way of dealing with the irrational.
Although I think wars do often have an irrational element, economic considerations aren’t the only ones that should influence rational decision making.