# Makefile para exercícios ESTÁTICOS de POV-Ray # Last edited on 2024-12-13 15:52:56 by stolfi SHELL := /bin/bash SHOW_TRACE := NO SHOW_FINAL := NO # NRAYS := 2 # Directories where POV-Ray is installed: POVPUB := /usr/local POVRAY := ${POVPUB}/bin/povray POVINC := ${POVPUB}/share/povray-3.6/include/ # Parent directory of lab homework directories: TOPDIR := ${HOME}/mc937 # TOPDIR := ${HOME}/public_html/courses/MC937-2023-2-A/progs/hand-out POVTTF := ${TOPDIR}/tt-fonts # ---------------------------------------------------------------------- # ---------------------------------------------------------------------- # all: print_help all: make_images.py make_images.py clean:: -/bin/rm -f ${NAME}.png -/bin/rm -f ${NAME}-*-i.png ${NAME}-i.png -/bin/rm -f ${NAME}-*.log ${NAME}.log NAME := main MAIN := main # ---------------------------------------------------------------------- # Auxiliary source files should be named "*.inc". # Image fiels used for textures etc. shoud be named "pic-*.png" or "pic-*.jpg". INC_IMG_FILES := ${wildcard *.inc pic-*.{png.jpg,JPG} } OTHERINPUTS := \ ${shell echo ${INC_IMG_FILES} | tr ' ' '\012' | grep -v -e 'main.*'} # These are defined with "=" rather than ":=" in order to defer expansion DIRTAIL = ${shell pwd | sed -e 's:^.*/::'} # None completo do programa: POVRAY := povray IMVIEW := display -title '%d/%f' include STATIC.make # include MOVIE.make