summaryrefslogtreecommitdiff
path: root/3d/Makefile
blob: fd7fce5f35908b45df3e76a883dea9ebf9fb0bc6 (plain)
1
2
3
4
5
6
7
8
9
10
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/' < $< > $@