delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/16/20:38:57

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: RE: Calling "del" from makefile's using MAKE
16 Jan 1997 20:38:57 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <009AE7AF.A0A67E80.7375.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: Stebbing AT ali DOT com DOT au
Original-CC: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi, you wrote:

: Is there a syntax to indeed call 'del' from within a makefile, without
: having to
: write my own "del.exe" or calling any other 'del' equivalent (like rm)?

Using the cygwin suite you could actually call rm. Are you deleting hundreds
of files one by one instead of all at once (like *.tmp)?
Assuming the same makefile doesn't have to work unmodified on unix also,
you could try: ${COMPSPEC} /c del what.ever ...
Or is it $(COMPSEC)?


Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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