In order to compiler the code using cygwin or anything else you need the source files which can be downloaded from the smaug section right here on this site... but I'd recomend downloading the whole thing instead of throwing bits and pieces together... So get all the smaug files in one place... As it probably wouldn't matter but sometimes minute changes if in the right spot could make things not fit right.
What makes up the Makefile that is required by cygwin to perform the make? Somehow I got a precompiled version of smaug that i've been dinkin around with and it doesn't have a "makefile"?
Detailed information about doing compiles, getting a compiler, making changes, and other useful topics are in the web page How to make changes, including compiling. About the only point it doesn't mention is 'make clean' which simply deletes all object files, so you get a 'clean compile'.
I'm very new to mud servers. I downloaded "winsmaug1.4a.zip" which is a windows port of smaug that comes precompiled and linked with a smaug.exe file.
However I would like to add some snippets and remove some code here and there and have found info on how to do it but I can't figure out how to compile and create a new executable.
Do you have to compile each .c file? And if so how do you link together all the object files that are created into an executable? I've downloaded and installed both cygwin and djgpp compilers. I've heard references made to "make" and "make clean" but am at a loss as to what this means.
I have had very limited experience coding. I used C++ with the borland compiler in school. There we only had one .cpp file and the rest of the files containing code were .h library files. So with a program with all these files I'm at a loss at where to start.
Any help you could give would be greatly appreciated.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.