summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
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