From d72f63ed1321afd23a5aa34698f533d95ba392cd Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 8 Nov 2011 13:14:07 -0500 Subject: added png targets --- xmds2/Nlevels_no_dopler_with_z_4wm/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xmds2') 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 -- cgit v1.2.3