I ended up getting a decent computer free from my school on which to run Ubuntu and TinyMUD.
I'm trying to clean up the TinyMUD install directory, so I added a new directory o/ for .o and .d files. The Makefile modifications are being quite retentive, and I don't know why. >_<
make: *** No rule to make target `o/tinymudserver.o', needed by `grun'. Stop.
CC=g++
CCFLAGS=-g3 -Wall -w -pedantic -fmessage-length=0
O_FILES = o/tinymudserver.o o/strings.o o/player.o o/load.o o/commands.o o/states.o o/globals.o o/comms.o o/room.o
tonymudserver : $(O_FILES)
$(CC) $(CCFLAGS) -o grun $(O_FILES)
# dependency stuff, see:
http://www.cs.berkeley.edu/~smcpeak/autodepend/autodepend.html
# pull in dependency info for *existing* .o files
-include $(O_FILES:.o=.d)
.SUFFIXES : .o .cpp
.cpp.o :
$(CC) $(CCFLAGS) -c $<
$(CC) -MM $(CFLAGS) $*.cpp > o/$*.d
clean:
rm -f grun o/*.o o/*.d
I'm trying to clean up the TinyMUD install directory, so I added a new directory o/ for .o and .d files. The Makefile modifications are being quite retentive, and I don't know why. >_<
make: *** No rule to make target `o/tinymudserver.o', needed by `grun'. Stop.
CC=g++
CCFLAGS=-g3 -Wall -w -pedantic -fmessage-length=0
O_FILES = o/tinymudserver.o o/strings.o o/player.o o/load.o o/commands.o o/states.o o/globals.o o/comms.o o/room.o
tonymudserver : $(O_FILES)
$(CC) $(CCFLAGS) -o grun $(O_FILES)
# dependency stuff, see:
http://www.cs.berkeley.edu/~smcpeak/autodepend/autodepend.html
# pull in dependency info for *existing* .o files
-include $(O_FILES:.o=.d)
.SUFFIXES : .o .cpp
.cpp.o :
$(CC) $(CCFLAGS) -c $<
$(CC) -MM $(CFLAGS) $*.cpp > o/$*.d
clean:
rm -f grun o/*.o o/*.d