/
mythran/log/
mythran/player/
mythran/player/c/
mythran/player/m/
mythran/player/r/
mythran/player/t/
# Generic Makefile.  Read 'port.txt' in the documentation
# directory for the Makefile that is right for you  - Kahn

CC      = gcc
PROF    = 
DEBUG   = -g
NOCRYPT =
O_FLAGS = -O2
C_FLAGS = $(O_FLAGS) -Wall $(DEBUG) $(PROF) $(NOCRYPT)
L_FLAGS = $(O_FLAGS)                $(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 special.o update.o \
          blade.o healer.o act_wiz2.o scan.o games.o drunk.o quest.o clan.o \
          hunt.o brewscribe.o language.o social-edit.o objlist.o economy.o \
          necromancer.o

envy: $(O_FILES)
	$(CC) $(L_FLAGS) -o envy2 $(O_FILES)
	strip envy2
	aout2exe envy2

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

clean:
	rm -f *.o envy envy2