Re: Color Code

From: Welcor (welcor@dune.net)
Date: 01/04/02


----- Original Message -----
From: "Chaotichavok" <nhlstar6@YAHOO.COM>
> http://www.circlemud.org/pub/CircleMUD/contrib/code/colour/colour.txt
>
<snip>
> -=-=-=-=-=-=-=-=-=-
>      Makefile
> -=-=-=-=-=-=-=-=-=-
>
> Search for:
>
> spells.o utils.o weather.o
>
> Change to:
>
> spells.o utils.o weather.o color.o
>

The part above is adding the color.o object file to the list of files needed to
'link' the binary (bin/circle). As you see, it says OBJ_FILES = in front of the list.

> Search for:
> class.o: class.c conf.h sysdep.h structs.h db.h utils.h spells.h
> interpreter.h
>
<snip>
> and in the makefile I can't find
>
> class.o: class.c conf.h sysdep.h structs.h db.h utils.h spells.h
> interpreter.h
>
When you've added the color.o file to the list of object files, you just type

make depend

- The class.o:... line is actually a remnant from an old patchlevel. Nowadays, gcc
handles the dependancies for us, and creates a file with the dependancies listed. Check
out 'less depend', for a list.

In other words: don't worry :()

Welcor

As a short answer to your other question - be sure to install the 'fileutils' as well as
the 'textutils' packages. Cygwin is your friend, but to give it functionality, you
must download the correct parts.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT