EAGLE3D_DIR = $(HOME)/eagle/eagle3d FONT_DIR = /usr/share/fonts/truetype/msttcorefonts W = 800 H = 600 watch.png: watch.pov binwatch.inc povray +P +L$(EAGLE3D_DIR)/povray +L$(FONT_DIR) +W$W +H$H $< binwatch.inc: binwatch.pov sed -e 's/#local/#declare/' -e '120s/^/#if(use_file_as_inc=off) /' -e '9d' -e 's/use_file_as_inc = off/use_file_as_inc = on/' < $< > $@