Makefile.sol

Makefile.sol · 474 B

From the archive Merc22_patchedsrc.tar.gz

Download the archive   « Back to the archive contents

# Makefile for Solaris 2.1 on a Sparc 10 with gcc.
# Changes contributed by Torsten Spindler.

CC      = gcc
PROF    =
NOCRYPT =
C_FLAGS = -O -Wall $(PROF) $(NOCRYPT)
L_FLAGS = $(PROF) -lelf -lucb -lsocket -lnsl

O_FILES = act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o const.o \
          db.o fight.o handler.o interp.o magic.o save.o special.o update.o

merc: $(O_FILES)
	rm -f merc
	$(CC) $(L_FLAGS) -o merc $(O_FILES)

.c.o: merc.h
	$(CC) -c $(C_FLAGS) $<

Site Stats

Snippets: 1791
Codebases: 571