is there a way to write portable Makefiles that can run with gmake or wmake?
I do not need any special features except for !include and !if.
Unfortunately the directive syntax for gmake is different in the way
that the ! has to be removed, while wmake and nmake need !include.
Marcel
Marcel Müller schrieb:
> Hi,
>
> is there a way to write portable Makefiles that can run with gmake or
> wmake?
Sadly they use completely different styles of makefiles. For "portable
makefiles" there is/was imake.
> I do not need any special features except for !include and !if.
> Unfortunately the directive syntax for gmake is different in the way
> that the ! has to be removed, while wmake and nmake need !include.
Some tools may help:
<http://www.cubic.org/docs/mkmk.htm>
--
Andreas