This is a very useful table, thanks. I've never used Windows nmake so I have no direct comments, but there are a few things to consider. For example, you might verify that nmake and GNU make agree about the difference between variables that are never defined, and ones that are defined to have the empty string as a value. Also, some compilations of make are case-insensitive in which case I think the $(wildcard) function matches in a case-insensitive manner.
You might try asking on the [email protected] mailing list; more Windows-knowledgeable people hang out there. On Wed, 2010-08-25 at 17:55 +0100, Anjum Naseer wrote: > 1. Logical operations on !IF, e.g.: > > !IF DEFINED(xyz) && ("a" == "b") || ("c" == "d") There is no straightforward analog to this. Depending on your exact requirements you can play some tricks with $(filter ...) etc. but in order to write the exact equivalent of the above statement would require multiple statements in GNU make. > 2. Repeating a command for every dependency of a target, e.g.: > > fred: a.adl b.adl c.adl > !nmake buildall MODULE=$** BUILDADL.MAK I don't know what this means. What happens in this situation? -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
