[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function.c, unlink, copy
From: |
Torsten Mohr |
Subject: |
function.c, unlink, copy |
Date: |
Wed, 28 Sep 2005 06:13:47 +0200 |
User-agent: |
KMail/1.8 |
Hi,
i often use "rm -f" OR "cmd /C del /Q" to delete files.
In a portable Makefile i have to set that command conditionally,
depending on the OS, which leads to the problem to determine
the underlying OS. Is there a bullet-proof way to determine
it? Environment variables could be set not properly or also
not at all set. Also, i can't set it for every command.
Would it be an improvement to add some very often used
commands like $(unlink LIST) and $(filecopy LIST) to
function.c?
Is there a reason why this has not been done yet? Maybe
there are some strong arguments against that?
Best regards,
Torsten.