in reply to [OT] Makefiles - nmake syntax v dmake syntax
Personally, I try to avoid using the shell whenever I have a supposedly functional Perl available:
$PERL -e "for(@ARGV){-f and unlink or warn qq(Can't delete $_: $!)}" g +lversion.txt glversion.exe glversion.o
I think this version should even be fairly safe against shells that interpolate $, as the variables only appear in the error message part.
|
|---|