summaryrefslogtreecommitdiff
path: root/3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '3d/Makefile')
-rw-r--r--3d/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/3d/Makefile b/3d/Makefile
new file mode 100644
index 0000000..fd7fce5
--- /dev/null
+++ b/3d/Makefile
@@ -0,0 +1,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/' < $< > $@