# Makefile para processar as entregas de exercício de POV-Ray # Last edited on 2008-02-04 12:45:53 by stolfi # Large portrait WIDTH := 400 HEIGHT := 300 ICONWIDTH := 100 ICONHEIGHT := 75 NRAYS = 2 OTHERINPUTS := # No need to change below here NAME = main POVPUB := ${STOLFIHOME}/pkg/povray-3.50c-1/PUB POVRAY := ${POVPUB}/i686-Linux-2.2/bin/povray POVINC := ${POVPUB}/share/povray-3.5/include POVTTF := ${STOLFIHOME}/PUB/povray/tt-fonts TOOLDIR := ${STOLFIHOME}/public_html/courses/mc930-2004-2-A/progs/tools # These are defined with "=" rather than ":=" in order to defer expansion DIRTAIL = ${shell pwd | sed -e 's:^.*/::'} IMVIEW = display -title "${DIRTAIL}/%f" .PHONY: all cleanup image showimage all-images index all: image showimage cleanup: -/bin/rm -f ${NAME}.png -/bin/rm -f ${NAME}-*-i.png ${NAME}-i.png -/bin/rm -f ${NAME}-*.log ${NAME}.log image: ${NAME}.png showimage: ${NAME}.png -${IMVIEW} ${NAME}.png ${NAME}.png: ${NAME}.pov ${OTHERINPUTS} -/bin/rm -f ${NAME}.png nice ${POVRAY} \ +FN +Q9 \ +W${WIDTH} +H${HEIGHT} \ +AM1 +A0.0 +R${NRAYS} \ +D +SP32 +EP4 \ +L${POVINC} \ +L${POVTTF} \ +I${NAME}.pov \ +O${NAME}.png