summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-11-08 13:17:31 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-11-08 13:17:31 -0500
commit5712a61a0bc62600ecc673bb2559d397a71e8e28 (patch)
tree63b1962e8402d032399899e760d617a72a5cc263 /xmds2
parentd72f63ed1321afd23a5aa34698f533d95ba392cd (diff)
downloadNresonances-5712a61a0bc62600ecc673bb2559d397a71e8e28.tar.gz
Nresonances-5712a61a0bc62600ecc673bb2559d397a71e8e28.zip
added png targets
Diffstat (limited to 'xmds2')
-rw-r--r--xmds2/check_perturbative_approach/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmds2/check_perturbative_approach/Makefile b/xmds2/check_perturbative_approach/Makefile
index 38f2a58..e49048f 100644
--- a/xmds2/check_perturbative_approach/Makefile
+++ b/xmds2/check_perturbative_approach/Makefile
@@ -28,21 +28,27 @@ plot: $(M_FILES)
clean:
rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf
+ rm -f $(png_targets)
real_clean: clean
rm -f *.eps
eps_targets = $(wildcard *.eps)
pdf_targets = $(eps_targets:%.eps=%.pdf)
+png_targets = $(pdf_targets:%.pdf=%.png)
pdf: $(pdf_targets)
-
$(pdf_targets): %.pdf : %.eps
cat $< | ps2eps -B > __tt.eps
epspdf __tt.eps $@
rm -f __tt.eps
#ps2eps -B $< | epspdf $< $@
+png: pdf $(png_targets)
+
+$(png_targets): %.png : %.pdf
+ convert -density 300 $< $@
+
.PRECIOUS: %.run %.xsil %.m
.PHONY: all clean