##############################################################################
#
# Makefile for the UserGuide/screens subdirectory
#
##############################################################################
#
#  2006/Dec/22
#
#  On Solaris, the value of PWD does not change when make is invoked
#  recursively.  Consequently, it is necessary to explicitly set it
#  at the start of the makefile.
#
PWD = $(shell pwd)

FILES = blank.ps clean1.ps error1.ps error2.ps error3.ps means1.ps option.ps \
	show1.ps use1.ps \
	blank.xwd clean1.xwd error1.xwd error2.xwd error3.xwd means1.xwd \
	option.xwd show1.xwd use1.xwd \
	blank.png clean1.png error1.png error2.png error3.png means1.png \
	option.png show1.png use1.png

OKFILES = Makefile $(FILES)

.SUFFIXES:.xwd .ps .png

.xwd.ps:
	xwdtopnm $*.xwd |ppmtopgm| pnmtops -noturn -nocenter -rle -width 10 > $*.ps
.xwd.png:
	xwdtopnm $*.xwd |pnmtopng > $*.png

all:$(FILES)

junk:
	@ ls -d $(OKFILES) * | sort | uniq -u


