make incompatibilities (4)

1 Name: #!usr/bin/anon 2005-11-13 23:06 ID:x2M8z97N

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?

2 Name: #!usr/bin/anon 2005-11-14 21:03 ID:yfTrhiU8

Gmake is quite common on the BSDs, since external apps have to be compiled when there's no binary package available.

3 Name: #!usr/bin/anon 2005-11-16 00:53 ID:x2M8z97N

In other words, no, there's no way?

4 Name: #!usr/bin/anon 2005-11-16 17:35 ID:x1GW2UHh

I don't know, I just suggested the use of GNU make, since it's kind of omnipresent.

This thread has been closed. You cannot post in this thread any longer.