Is there any way to do "ifdef" that works in both GNU and BSD make?
GNU make wants things to be like "ifdef", "else", "endif", but BSD make uses ".ifdef", ".else", and ".endif". Neither accepts the other way of doing things. This is giving me nightmares. Surely there is a way to make them both happy?
Gmake is quite common on the BSDs, since external apps have to be compiled when there's no binary package available.
In other words, no, there's no way?
I don't know, I just suggested the use of GNU make, since it's kind of omnipresent.