diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-28 23:37:56 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-28 23:37:56 -0500 |
commit | dd093133de2a1328dcdaaf03765b5d15835ed0f9 (patch) | |
tree | 1da7d40a66b53d7f2b50d95ecf95c1ca4149c8c2 /xmds2/realistic_Rb_and_fields/Makefile.fig | |
parent | aeeeb3a41ba3df163dede45c37efe74c6ce71ca3 (diff) | |
download | Nresonances-dd093133de2a1328dcdaaf03765b5d15835ed0f9.tar.gz Nresonances-dd093133de2a1328dcdaaf03765b5d15835ed0f9.zip |
added auxiliary makefiles
Diffstat (limited to 'xmds2/realistic_Rb_and_fields/Makefile.fig')
-rw-r--r-- | xmds2/realistic_Rb_and_fields/Makefile.fig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/xmds2/realistic_Rb_and_fields/Makefile.fig b/xmds2/realistic_Rb_and_fields/Makefile.fig new file mode 100644 index 0000000..71fba31 --- /dev/null +++ b/xmds2/realistic_Rb_and_fields/Makefile.fig @@ -0,0 +1,39 @@ +### -*- make -*- +### This makefile can be used to build and run the XMDS examples + +GNUPLOT_FILES = $(wildcard *.gp) + +SCRIPTS_DIR = . + + +eps_targets = $(wildcard *.eps) +eps_bb_targets = $(eps_targets:%.eps=%.bb) +pdf_targets = $(eps_targets:%.eps=%.pdf) +png_targets = $(pdf_targets:%.pdf=%.png) + +fig: png + +pdf: $(pdf_targets) + +# fix bounding box +$(eps_bb_targets): %.bb : %.eps + @cat $< | ps2eps -q -B > $@ + +$(pdf_targets): %.pdf : %.bb + epspdf $< $@ + +png: $(png_targets) + +$(png_targets): %.png : %.pdf + convert -density 300 $< $@ + +clean: + rm -f *.pdf + rm -f *.eps + rm -f *.bb + +real_clean: clean + rm -f *.png + +.PRECIOUS: %.run %.xsil %.m +.PHONY: all clean |