Implementing Code

Posted by DavidMB13 on Mon 04 Jun 2007 01:38 AM — 3 posts, 17,480 views.

#0
How exactly does implementing new code work?
Do you have to recompile the .c files everytime you add new code? What is the process of succesfully adding new code to your MUD?
USA #1
1) Add new code to the files.
2) If it was only a .c file, do a make.
3) If it was also a .h file, do a make clean.
4) Reboot the MUD.
USA #2
The following is nominally related to SMAUG but also applies to MUDs (and in fact programming) in general:

http://www.gammon.com.au/smaug/howtocompile.htm

You might want to look through the sections "what is source", "what is compiling" and so forth. Nick's tutorial is quite good, I think.