Message-Id: <3.0.32.19971103105544.00693290@195.53.80.2> Date: Tue, 04 Nov 1997 22:52:50 +0100 To: Eli Zaretskii From: Jose Luis Perandones Colino Subject: Re: Make clen question Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk 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