# Makefile for wanderer - modified by Bill Randle 6/30/88
# modified again by play@cwi.nl
# and again by me.. maujp@uk.ac.warwick.cu
# and yet again by adb@bucsf.bu.edu

OBJ = monsters.o m.o save.o jump.o display.o icon.o game.o read.o help.o fall.o scores.o edit.o encrypt.o 
OBJ1= convert.o
OBJ2= test.o

CFLAGS = -O -s
#CFLAGS = -g
LIBS = ..\src\libcurso.a ..\src\libpano.a
CC = gcc

all:    wanderer convert #test  
	@echo DONE

wanderer:	$(OBJ)
	$(CC) $(CFLAGS) -o wanderer $(OBJ) $(LIBS)

#convert: convert.c wand_head.h

convert:        $(OBJ1)
	$(CC) $(CFLAGS) -o convert $(OBJ1) $(LIBS)

#test:           $(OBJ2)
#        $(CC) $(CFLAGS) -o test $(OBJ2) $(LIBS)  

$(OBJ): wand_hea.h
$(OBJ1): wand_hea.h
#$(OBJ2): wand_hea.h


#install:
#        @mkdir /usr/games/lib/wand
#        cp -r screens /usr/games/lib/wand
#        touch /usr/games/lib/wand/hiscores
#        mv wanderer /usr/games
