diff options
Diffstat (limited to 'xmds2/Nlevels_no_dopler_with_z_4wm')
-rw-r--r-- | xmds2/Nlevels_no_dopler_with_z_4wm/Makefile | 10 |
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 |