Mail Archives: djgpp/1997/11/02/07:33:55
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.
- Raw text -