help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function.c, unlink, copy


From: Torsten Mohr
Subject: Re: function.c, unlink, copy
Date: Wed, 28 Sep 2005 22:34:13 +0200
User-agent: KMail/1.8

Hi,

> in this case it might be simpler to check if these commands are available
> and not bother checking which OS you actually have. Another simple
> alternative is to mandate an environment variable and simply fuss at the
> users if it is not set. I doubt there is something like a general bulet
> prof OS-detection that would stay upwards compatible.

thanks for your answer, but that's not really what i want to
say, maybe i was unclear.  I wanted to state that a Makefile
that gets copied or installed to other PCs, you can't really
rely on the environment variables to be set properly.  These
conditional parts are not really nice.
Why not have an internal variable set at compile time
of "make"?  Like perl's variables in the module "Config".

But the other thing that i really want to ask for:
Wouldn't it be useful to have a function like "unlink"
or "copy" added, i use them very often, shouldn't that
help others too?  Then you would have these functions
available on ALL platforms.


Best regards,
Torsten.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]