projects
/
course.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e9deb
)
Added png output to Asymptote Makefile for my website.
author
W. Trevor King
<wking@drexel.edu>
Wed, 12 Aug 2009 16:57:02 +0000
(12:57 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 17 Sep 2009 16:50:23 +0000
(12:50 -0400)
asymptote/Makefile
patch
|
blob
|
history
diff --git
a/asymptote/Makefile
b/asymptote/Makefile
index 8ab0d99484c3dde8714f2495000078afed289a6e..ebac727d85f907d288f41d60bd215a4d07cf8fd4 100644
(file)
--- a/
asymptote/Makefile
+++ b/
asymptote/Makefile
@@
-18,15
+18,22
@@
MODULES = Circ ElectroMag Mechanics
-all : $(MODULES:%=%-test.pdf)
+all : pdfs pngs
+
+pdfs : $(MODULES:%=%-test.pdf)
+
+pngs : $(MODULES:%=%-test.png)
view : $(MODULES:%=%-view)
clean :
- rm -f $(MODULES:%=%-test.pdf)
+ rm -f $(MODULES:%=%-test.pdf)
$(MODULES:%=%-test.png)
%-view : %-test.pdf
xpdf $< &
%-test.pdf : %-test.asy $(MODULES:%=%.asy)
asy -f pdf $<
+
+%-test.png : %-test.asy $(MODULES:%=%.asy)
+ asy -f png $<