# Makefile para processar as entregas do exercício tp02 de POV-Ray # Last edited on 2001-07-31 21:19:08 by stolfi WIDTH = 640 HEIGHT = 480 NRAYS = 2 OTHERINPUTS = # No need to change below here NAME = main ICONNAME = icon POVRAY = /n/lac/pkg/povray-3.1a-1/PUB/intel-Linux/bin/x-povray POVINC = /n/lac/pkg/povray-3.1a-1/PUB/intel-Linux/povinc POVTTF = /home/staff/stolfi/PUB/povray/tt-fonts IMVIEW = /usr/X11R6/bin/display CONVERT = /usr/X11R6/bin/convert .PHONY: all cleanup image showimage all-images index all: image showimage cleanup: -/bin/rm -f ${NAME}.png ${NAME}.gif image: ${NAME}.gif showimage: ${NAME}.gif -${IMVIEW} ${NAME}.gif ${NAME}.gif: ${NAME}.png -/bin/rm -f ${NAME}.gif ${CONVERT} ${NAME}.png ${NAME}.gif ${NAME}.png: ${NAME}.pov ${OTHERINPUTS} -/bin/rm -f ${NAME}.png nice ${POVRAY} +A0 +FN +Q9 +R${NRAYS} \ +W${WIDTH} +H${HEIGHT} \ +D +SP32 +EP4 \ +L$${HOME}/lib/povray +L${POVINC} +L${POVTTF} \ +I${NAME}.pov \ +O${NAME}.png \ 3>&2 > ${NAME}.log ${ICONNAME}.gif: ${NAME}.gif cat ${NAME}.gif \ | giftopnm \ | pnmscale -ysize 60 \ | pnmdepth 255 \ | ppmquant 254 \ | ppmtogif > ${ICONNAME}.gif all-images: ras.txt ../../../tools/make-all-images `cat ras.txt` index: title.txt ras.txt ../../../tools/make-labday-image-page "`cat title.txt`"