# Makefile written by Michael J. Ellis, The George Washington University 
#
# (As you can probably tell I am by NO means a Makefile wiz.)
# (I won't be getting any style points for this one....)
#
#
# Contact Me (Michael J. Ellis) at the following address 
# if you run into major trouble..... 
# (Mind you I'm no unix God (yet....) so I can't allways help.....
#
# Internet: mikee@sparko.gwu.edu   


CC     = gcc

CFLAGS = -O6

LIBS   = -lcurses -ltermcap 

BIN= /usr/local/games
MANLIB = /man


PROG=	hangman
SRCS=	endgame.c extern.c getguess.c getword.c main.c playgame.c prdata.c prman.c prword.c setup.c
OBJS=	endgame.o extern.o getguess.o getword.o main.o playgame.o prdata.o prman.o prword.o setup.o


all:	hangman

hangman:	${OBJS}
		${CC} -o ${PROG} ${OBJS} ${LIBS}

