summaryrefslogtreecommitdiff
path: root/xmds2/Nlevels_no_dopler_with_z_4wm/Makefile
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-11-08 13:14:07 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-11-08 13:14:07 -0500
commitd72f63ed1321afd23a5aa34698f533d95ba392cd (patch)
tree33cbebf095b33c942f4b9ba2a3e14ac4be3ed093 /xmds2/Nlevels_no_dopler_with_z_4wm/Makefile
parentce7ec1b8f2e3bcf8f1cb1272acc444564983d0e3 (diff)
downloadNresonances-d72f63ed1321afd23a5aa34698f533d95ba392cd.tar.gz
Nresonances-d72f63ed1321afd23a5aa34698f533d95ba392cd.zip
added png targets
Diffstat (limited to 'xmds2/Nlevels_no_dopler_with_z_4wm/Makefile')
-rw-r--r--xmds2/Nlevels_no_dopler_with_z_4wm/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmds2/Nlevels_no_dopler_with_z_4wm/Makefile b/xmds2/Nlevels_no_dopler_with_z_4wm/Makefile
index 7a65813..578f2b0 100644
--- a/xmds2/Nlevels_no_dopler_with_z_4wm/Makefile
+++ b/xmds2/Nlevels_no_dopler_with_z_4wm/Makefile
@@ -31,13 +31,19 @@ plot: $(M_FILES)
octave pp.m
clean:
- rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf
+ rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf
+ rm -f $(png_targets)
eps_targets = $(wildcard *.eps)
pdf_targets = $(eps_targets:%.eps=%.pdf)
+png_targets = $(pdf_targets:%.pdf=%.png)
-pdf: $(pdf_targets)
+png: pdf $(png_targets)
+
+$(png_targets): %.png : %.pdf
+ convert -density 300 $< $@
+pdf: $(pdf_targets)
$(pdf_targets): %.pdf : %.eps
cat $< | ps2eps -B > __tt.eps