Mail Archives: djgpp/1997/11/04/16:55:53
At 14:29 2/11/97 +0200, Eli Zaretskii wrote:
>
>On Fri, 31 Oct 1997, Jose Luis Perandones Colino wrote:
>
>> I have a problem with a makefile. It have a variable with all the
>> object files and i want erase all in a clean target.
>>
>> clean:
>>
>> del $(OBJS)
>>
>> But 4DOS say: line too long
>
>Try this:
>
> clean:
> for %f in ($(OBJS)) do if exist %f del %f
>
>Does this solve the problem?
Not, same problem, this generate a line more long (add for, do, if, etc).
>
>Btw, I don't understand how that original line was supposed to work at
>all, since DEL only accepts a single argument, at least in
>COMMAND.COM.
>
4DOS del suport multiple files as arguments.
--
Jose Luis Perandones Colino
mailto:joepc AT writeme DOT com
EmuWorks - http://www.geocities.com/SiliconValley/Bay/9494
La Bañeza - Leon - Spain
- Raw text -