Hej Michael!

Thank you for the answer!

I am trying to improve an existing solution, and can not fundamentally change 
it, so your proposals are no options for me.

I am still looking for PORTABLE ways (in a Makefile) to:

1] Find which make program is used
2] Give a warning message
3] Give an error message and stop the make program

Bosse

Michael Ludwig skriver Wed, 22 Feb 2012 00:32:52 +0100
>Bo Johansson schrieb am 20.02.2012 um 16:50 (+0100):
>> 
>> I am trying to find ways to make Makefiles more foolproof and need
>> ideas, advices, and reference to already established methods. (For
>> background see http://www.perlmonks.org/?node_id=954865.)
>
>Have you checked whether Module::Build (instead of ExtUtils:MakeMaker)
>fulfils your needs?
>
>https://metacpan.org/module/Module::Build
>
>> I want to find portable ways in a Makefile to:
>> 
>> 1] Find which make program is used
>> 2] Give a warning message
>> 3] Give an error message and stop the make program
>> 4] (If there is a solution to 1] ) Find methods to create more
>> portable Makefiles
>> 
>> Portable means here that the Makefile can be used by many make
>> programs. If possible a message should be given if the Makefile is
>> incompatible with the used make program.
>
>If it is not for Perl, have you looked at cmake?
>
>Michael
>
_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to