Re: iedit/redit -- Makefile also ;)

From: Thomas G. Dailey (tgd@iglou.com)
Date: 11/22/95


On Thu, 23 Nov 1995, James VanRegenmortel wrote:

>   I noticed today for the first time, that if you use iedit and redit, the 
> olc.h file is unused. It is just a waist of space. I also noticed that
> someday when I get the time to make zedit and or medit, everytime i add a new
> flag like the redit_? iedit_? flags, I'll have to recompile the entire mud.
> not too good for the lag :). So what I did was move all the IEDIT_?
> REDIT_? definitions from structs.h to the olc.h file, deleting the stock 
> circle defines. I added include "olc.h" to the iedit.c, redit.c, olc.c, and 
> modify.c also modified the Makefile to include olc.h in those files. Now if 
> I deside to make zedit or medit, when I add in the new flags, I won't 
> have to recompile the hole mud, just those 4 files. Just something to 
> think about for the users of iedit and redit. 
>   
>   But of course I have 2 questions. Anyone see any side affects I may have
> overlooked by doing this? Also, someone posted a few weeks ago they were 
> almost done with a zedit and was gunna put it on there ftp site? Is it 
> complete and if so, what is the site? It will same me some time :)
> 
>   Thanx in advance,
> 
>   Darkangel 
> 
    Darkangel, if you didnt know, you don't have to edit files, rm *.o, then
recompile the entire mud.  The makefile is written so that you leave all 
the .o files as is and it will update the appropriate files and make a new
binary file.  I used to do as you are saying which of course took me forever,
caused lag on my system, and subsequently pissed off others on my server...

Just edit your files and make....

Tom Dailey
Gore - IMP
ZombieMUD
zombie.iglou.com 2150



This archive was generated by hypermail 2b30 : 12/07/00 PST