# Makefile para exercícios ESTÁTICOS de POV-Ray
# Last edited on 2023-12-29 01:31:33 by stolfi

# Mostrar automaticamente as imagens estáticas ou quadros do filme?
SHOW := YES

WIDTH := 800
HEIGHT := 800
NRAYS := 2

ICONWIDTH := 70
ICONHEIGHT := 70

# Directories where POV-Ray is installed:
POVPUB := /usr
POVRAY := ${POVPUB}/bin/povray
POVINC := ${POVPUB}/share/povray-3.6/include/

# Parent directory of lab homework directories:
TOPDIR := ${HOME}/public_html/courses/MC937-2023-2-A/progs/hand-in
POVTTF := ${HOME}/ttf

all: print_help
# all: all-prof-files
# all: all-student-files

clean::
	-/bin/rm -f ${NAME}.png 
	-/bin/rm -f ${NAME}-*-i.png ${NAME}-i.png
	-/bin/rm -f ${NAME}-*.log ${NAME}.log

# Nome do arquivo ".pov" principal, e prefixo para arqs de saída
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

# Comando para visualizar as imagens produzidas pelo POV-Ray
# Defined with "=" rather than ":=" in order to defer expansion
IMVIEW := display -title '%d/%f'

include MOVIE.make
# include STATIC.make
# include ../PLACEHOLDERS.make