X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Anthony" 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: References: 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" 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.