bast/
bast/area/
bast/backup/
bast/clans/
bast/doc/MSP/
bast/doc/OLC11/
bast/doc/OLC11/doc/
bast/doc/OLC11/options/
bast/log/
bast/mobprogs/
bast/player/
# MAKEFILE  FOR  HP-UX 
# Contributed by ass_fb@mehp6.epfl.ch
#
# It has been tested on a HP9000s700. It uses the ANSI-C mode.
# If you manage to compile on an HP system or have some improvements please
# mail a note to ass_sh@mehp6.epfl.ch.
#
# Modifications sent in by Strider on HP9000s425 (HP/UX 9.03)

CC      = cc
PROF    =
DEBUG   = -g
NOCRYPT =

# unix & hpux should already be defined, but it was not the case on my system.
# If you must use xdb you have to link the end.o file.
# distribution: C_FLAGS = -O -D_HPUX_SOURCE -Dunix -Dhpux
# debug:        C_FLAGS = -v -g -D_HPUX_SOURCE -Dunix -Dhpux $(PROF)
 
C_FLAGS = $(DEBUG) -v -D_HPUX_SOURCE -Dunix -Dhpux $(PROF) $(NOCRYPT)

L_FLAGS = $(DEBUG)                                     $(PROF)

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 ssm.o update.o bit.o \
	  mem.o olc.o olc_act.o olc_save.o string.o mob_prog.o mob_comm.o     \
	  tables.o track.o wiznet.o gamble.o act_clan.o spec_mob.o spec_obj.o

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

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

clean:
	rm  -f *.o *.core envy

#didn't check this one yet...
tar:
	cd .. / .. ; tar cvf .