Date: Sun, 2 Nov 1997 14:29:12 +0200 (IST) From: Eli Zaretskii To: Jose Luis Perandones Colino cc: djgpp AT delorie DOT com Subject: Re: Make clen question In-Reply-To: <3.0.32.19971030134056.0068b8f0@mail.santandersupernet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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? 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.