summaryrefslogtreecommitdiff
path: root/3d/Makefile
diff options
context:
space:
mode:
authorNicolas2008-09-19 23:02:07 +0200
committerNicolas2008-09-19 23:02:07 +0200
commit33a5b3cbaf945067d217d08c482c9a48efdcfae4 (patch)
tree2910a03f6fd97bab4cd8586a417f3930f0225bae /3d/Makefile
parent620238df030bc94c5a02a4f470c31a7c63a52a3c (diff)
Added povray files.
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/' < $< > $@