#
# $Source: /afs/net.mit.edu/tools/src/play/RCS/Makefile,v $
# $Author: tom $
# $Header: /afs/net.mit.edu/tools/src/play/RCS/Makefile,v 1.1 90/10/26 23:26:47 tom Exp Locker: tom $
#
# Makefile for play.  
#

DESTDIR    = 
BINDIR     =   ${DESTDIR}/${MACHTYPE}bin
MANDIR     =   ${DESTDIR}/man
MANSECT    =   1
TARGET     =   play
MANTARGET  =   

CFLAGS     =   -g
CC         =   /mit/gnu/${MACHTYPE}bin/gcc
DEPEND     =   /usr/athena/makedepend -v 
INSTALL    =   /usr/bin/install
RM         =   /bin/rm

SRCS       =   play.c
OBJS       =   play.o
LIBS       =   -lX 
MAN_PAGES  =   play
SUBDIRS    = 

play: ${OBJS}
	${CC} ${CFLAGS} -o ${TARGET} ${OBJS} ${LIBS}

all: play

install: ${TARGET} ${MAN_PAGES}
	${INSTALL} -m 775 -c -s ${TARGET} ${BINDIR}/${TARGET}
	${INSTALL} -m 644 -c play.1 ${MANDIR}/man1/play.1


clean:
	${RM} -f *.o *~ *.bak ${TARGET} core a.out


depend:
	$(DEPEND) $(SRCS)

# DO NOT DELETE THIS LINE -- make depend depends on it.

play.o: play.c
# play.c includes:
#	stdio.h
#	X11/Xlib.h
#	X11/Xutil.h
#	X11/keysym.h
#	sys/types.h
#	sys/time.h
play.o: /usr/include/stdio.h /usr/include/X11/Xlib.h
# /usr/include/X11/Xlib.h includes:
#	sys/types.h
#	X11/X.h
play.o: /usr/include/sys/types.h /usr/include/X11/X.h
play.o: /usr/include/X11/Xutil.h /usr/include/X11/keysym.h
# /usr/include/X11/keysym.h includes:
#	keysymdef.h
play.o: /usr/include/X11/keysymdef.h /usr/include/sys/time.h
# /usr/include/sys/time.h includes:
#	time.h
play.o: /usr/include/sys/time.h
