delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/02/27/08:45:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Anthony" <akantsel AT integra DOT rmt DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How can I create a makefile automatically?
Date: Fri, 27 Feb 2004 16:43:10 +0300
Organization: Radio-MSU NOC, Moscow State University
Lines: 56
Message-ID: <c1nhhf$16qv$1@alpha2.radio-msu.net>
References: <c1kne5$3p$1 AT alpha2 DOT radio-msu DOT net> <egs%b.99342$hR DOT 1953378 AT bgtnsc05-news DOT ops DOT worldnet DOT att DOT net>
NNTP-Posting-Host: integra.rmt.ru
X-Trace: alpha2.radio-msu.net 1077889391 39775 81.13.30.150 (27 Feb 2004 13:43:11 GMT)
X-Complaints-To: usenet AT radio-msu DOT net
NNTP-Posting-Date: Fri, 27 Feb 2004 13:43:11 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

----- Original Message -----
From: "Thomas Tutone" <Thomas8675309NO_SPAM AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Sent: Thursday, February 26, 2004 11:01 PM
Subject: Re: How can I create a makefile automatically?


> First, as you note, RHIDE will export a make file.
> Similarly, VIDE, which in a prior message you
> indicated you used, generates make files which you can
> then modify to work with DJGPP without too much
> effort.  At the very least, this gives you a base to
> work from.

Yes, I think this is what I'm looking for. I need something that generates a
very simple makefile of predefined structure - like VIDE does - having just
a project filelist. I can handedit it to add things etc. but I don't want to
create almost the same makefiles every time I start a small (3-4 sources)
project by hands.
I think I can look throug the VIDE or RHIDE sources and extract code that
generates makefile into a separat utility. I was hoping that someone has
already done it before.

> The idea is that this makefile will regenerate the
> dependencies if any source file or the makefile itself
> is modified.

I'm just curious. How does it detects that some source was modified? Does it
store attributes of each file (like modification date and time, size, CRC
etc.)?

>
> A warning:  It sounds like you expect to run the
> makefile from multiedit.  I don't use multiedit, but
> my advice from before stands:  DJGPP and windows
> programs do not interact well.  I would be surprised
> if multiedit can successfully compile DJGPP programs
> from within multiedit.  You'll probably find that, as
> I recommended, you can use multiedit to do your
> editing, but you will still have to call make from the
> command line.

It seems like ME can compile files and catch errors information almost
out-of-box. It can also build projects by calling make from itself (if I
write appropriate makefile). I'm still unsure about debugging (most probably
it can't debug within itself, but it can call some external debugger) and
.info helpfiles reading. Generally speakink, I enjoy using it a lot. The
only upsetting thing about it that I've discovered so far - it costs ~$200.

Thanks for your reply, it is very useful information for me.
Anthony.




- Raw text -


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