Strangness with compiling random.c

From: John Evans (evansj@HI-LINE.NET)
Date: 11/12/97


When I alter random.c, and try to make, "nothing happens". Check this out:

-----------------
pangea:~/mud/src$ touch random.c
pangea:~/mud/src$ make
make ../bin/spear.new
make[1]: Entering directory `/home/spear/mud/src'
make[1]: `../bin/spear.new' is up to date.
make[1]: Leaving directory `/home/spear/mud/src'
pangea:~/mud/src$ grep random Makefile
random.o: random.c
        $(CC) -c $(CFLAGS) random.c
pangea:~/mud/src$
-----------------
('touch random.c' is the same as editing and saving the file.)

Strange, eh?

To fix it just add random.o to the listing of files in OBJFILES in
Makefile.in and re-run configure.

(BTW: Stock bpl 11 does this, but bpl 12 has fixed the problem.)

John Evans <evansj@hi-line.net>

May the source be with you.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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