Le jeudi 22 février 2007 à 08:36 +0000, Xavier Calbet a écrit :
> Thanks for the proposed Makefile.PL
>
> Why do you think this Makefile.PL is better than the
> one I put on the Cookbook? Maybe we could do a merge
> of both, but for that I would like to know the reasons
> behind your Makefile.PL
> One of the advantages of the Cookbook one is that you
> can see the compilation lines and you can thus modify them
> with the necessary switches. It is more user friendly.
My mistake, I did not want to replace the work you did, consider
this as an example when you can pick up some things. In fact the real
mistake is that I did not read completely your Makefile.PL, I thought
you missed some things, sorry for that.
The only advantage that I can think of with the Makefile.PL I gave is
the fact that it uses $(OBJ_EXT) so it is more portable (for example on
Windows the object extension is .obj). Another advantage is that it lets
MakeMaker creates the rule to compile .c files and so adds the necessary
CFLAGS (for example -fPIC on x86_64 arch). But it was intended for
additional C files only and in this regard it will not help for Fortran
files.
For me using $hash{'INC'} and consorts is more user friendly :-)
Greg
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl