www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/05/05:21:44

Date: Wed, 5 Nov 1997 12:21:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jose Luis Perandones Colino <joepc AT writeme DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Make clen question
In-Reply-To: <3.0.32.19971103105544.00693290@195.53.80.2>
Message-ID: <Pine.SUN.3.91.971105122102.460S-100000@is>
MIME-Version: 1.0

On Tue, 4 Nov 1997, Jose Luis Perandones Colino wrote:

> >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.

If so, then try this:

   clean:
	echo del $(OBJS) > foo.btm
	4dos.com /c foo.btm
	del foo.btm

Btw, it's usually a bad idea to write Makefiles which only work with a
certain shell, but fail with others.

- Raw text -


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