Subject: | Makefile vs make type sanity check |
MakeMaker generates a Makefile tailored to the same type of make which
built Perl (based on $Config{make}). If the user then runs the Makefile
with a different type of make they might get cryptic make syntax errors.
This is particularly rampant on Win32 with dmake vs nmake vs gmake.
The Makefile should perform a basic sanity check on itself to determine
if its being run with the same family of make that it was written for.
(Note: the same family of make is fine, don't restrict it to the exact
same make binary)