www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/04/16:55:53

Message-Id: <3.0.32.19971103105544.00693290@195.53.80.2>
Date: Tue, 04 Nov 1997 22:52:50 +0100
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Jose Luis Perandones Colino <joepc AT writeme DOT com>
Subject: Re: Make clen question
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019