delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/04/30/08:15:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with rm in makefiles
Date: Wed, 30 Apr 2008 05:07:10 -0700 (PDT)
Organization: http://groups.google.com
Lines: 28
Message-ID: <b6e97b1a-7e6d-47fe-992e-3ec6d356ec26@e53g2000hsa.googlegroups.com>
References: <48185DFE DOT 30679 DOT 14FC1904 AT gerritvn DOT gpvno DOT co DOT za>
NNTP-Posting-Host: 88.68.57.79
Mime-Version: 1.0
X-Trace: posting.google.com 1209557231 29338 127.0.0.1 (30 Apr 2008 12:07:11 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 30 Apr 2008 12:07:11 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: e53g2000hsa.googlegroups.com; posting-host=88.68.57.79;
posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us)
AppleWebKit/48 (like Gecko) Safari/48,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Gerrit van Niekerk schrieb:
[snip]
> I find it strange that ZIP File Picker does not select v2gnu/fil41b.zip, but does
> select v2gnu/mak3791b.zip which requires rm.exe. Is that a shortcoming or
> am I missing something?

Make does not require anything.  It is your makefile that
determinates what kind of tools shall be invoked to fullfill
the task.  If you want to run a makefile that has been tailored
to unix-like environments it will be save to install textutils,
shell utils and bash too.  BTW, if you use WinXP you should
install those ports from /beta/v2gnu because they have been
compiled with djdev204.  To be sure that make uses bash
you must add a line like this:
  SHELL = /bin/sh
in your makefile or make will default to command.com
to execute certain command.  It is very likely that it will
fail because command.com does not understand the
bash syntax.
But if you prefer to write a makefile for a DOS-like environment
then it will be your job to figure out how the required
functionality can be provided.  In the case of remove
it could be done with a line like this:
  RM = command.com /c del
in your makefile.

Regards,
Juan M. Guerrero

- Raw text -


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