Mail Archives: djgpp/2004/02/27/08:45:48
----- 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 -