# Computer Science 367, Section 3, Fall 1997
# Instructor: Michael Siff (siff@cs.wisc.edu)
#
# Programming Assignment Two - Makefile
#
#
#set up compiler and options
CC=g++ -ansi -pedantic -g -Wall
OBJECTS=game.o play.o display-maze.o maze.o player.o direction.o

amazed : $(OBJECTS) 
	$(CC) -o amazed $(OBJECTS) -lcurses -ltermcap 

#game.o : game.C game.h maze.h player.h direction.h
#	$(CC) -c game.C

play.o : play.C game.h maze.h direction.h player.h
	$(CC) -c play.C

#display-maze.o : display-maze.C maze.h
#	$(CC) -c display-maze.C

#maze.o : maze.C maze.h 
#	$(CC) -c maze.C

#player.o : player.C player.h direction.h
#	$(CC) -c player.C

#direction.o : direction.h direction.C
#	$(CC) -c direction.C
