# 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_clan.o act_comm.o act_game.o act_info.o act_lang.o act_move.o \ act_obj.o act_olc.o act_wiz.o bit.o board.o comm.o const.o db.o \ db2.o fight.o handler.o hunt.o interp.o magic.o mem.o mob_comm.o \ mob_prog.o save.o spec_mob.o spec_obj.o spec_rom.o ssm.o string.o \ tables.o update.o wiznet.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 .