That is one way to do it.
Another way would be to add this into your Makefile:
depend:
<insert tab here>$(CC) -E -MM ($DEPEND_FILES) -I. > .depend
then go up and copy your rom_files into another section called
depend_files (make sure you keep the tabs in place, otherwise make will
whine), make depend, open up your Makefile, then insert the .depend in
that way.
As far as I know, makedepend isn't something that's handed out on every
server (least it isn't on redhat 7.1 and probably older versions as
well), so you're probably better off going this way.
On Thu, 2002-03-28 at 07:55, Jason Gauthier wrote:
> The easiest way is to set up the dependencies. You can do it manually, or
> with makedepend.
> 
> makedepend *.c
> 
> It will create all the dependencies in the Makefile for you.
> Compile at will.
> 
> 
> > -----Original Message-----
> > From: Sammy [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 28, 2002 8:49 AM
> > To: [email protected]
> > Subject: Stupid question.
> > 
> > 
> > Ok, this is an utter newbie question.  Feel free to flame me 
> > at will.  But 
> > if you can answer it, please do!
> > 
> > I searched through the archives and couldn't find the answer.
> > 
> > The mud I started coding on did a full compile every time I 
> > changed the 
> > merc.h file.  The one I am working on now does not.  How do I 
> > force a full 
> > compile without making a tweek to every single file?
> > 
> > Thanks,
> > Sammy.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to