# Last edited on 2011-04-20 16:57:10 by stolfi # Shall we display static images and movie frames? SHOW := YES .PHONY:: .PHONY:: \ all clean print_help # all: print_help # all: fast all: medium-portrait print_help: @-echo "You must execute 'make '" @-echo "" @-echo "To render a static image use any of these:" @-echo "" @-echo " make large-portrait" @-echo " make large-landscape" @-echo " make medium-portrait" @-echo " make medium-landscape" @-echo " make small-portrait" @-echo " make small-landscape" @-echo "" @-echo "To render a movie (or some frames of a movie) use any of these:" @-echo "" @-echo " make first" @-echo " make middle" @-echo " make last" @-echo " make strip" @-echo " make fast" @-echo " make movie" @-echo " make clean" @-echo " make still" # ====================================================================== # No need to change below here NAME := main INC_IMG_FILES := ${wildcard *.inc pic-*.png} OTHERINPUTS := \ ${shell echo ${INC_IMG_FILES} | tr ' ' '\012' | grep -v -e '${NAME}.*'} # These are defined with "=" rather than ":=" in order to defer expansion DIRTAIL = ${shell pwd | sed -e 's:^.*/::'} IMVIEW = display -title "%f" POVPUB := /usr/local # POVRAY := ${POVPUB}/bin/povray # POVINC := ${POVPUB}/share/povray-3.6/include/ POVRAY := ${HOME}/bin/${PLATFORM}/povray POVINC := ${HOME}/pkg/povray-3.50c-1/povray-3.50c/include POVTTF := tt-fonts include STATIC.make include MOVIE.make