summaryrefslogtreecommitdiff
path: root/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig
diff options
context:
space:
mode:
Diffstat (limited to 'xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig')
-rw-r--r--xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig35
1 files changed, 35 insertions, 0 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig
new file mode 100644
index 0000000..d1d8ad1
--- /dev/null
+++ b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig
@@ -0,0 +1,35 @@
+### -*- make -*-
+### This makefile can be used to build and run the XMDS examples
+
+GNUPLOT_FILES = $(wildcard *.gp)
+
+SCRIPTS_DIR = .
+
+
+eps_targets = $(wildcard *.eps)
+pdf_targets = $(eps_targets:%.eps=%.pdf)
+png_targets = $(pdf_targets:%.pdf=%.png)
+
+fig: pdf
+
+pdf: $(pdf_targets)
+
+$(pdf_targets): %.pdf : %.eps
+ @cat $< | ps2eps -q -B > __tt.eps
+ epspdf __tt.eps $@
+ @rm -f __tt.eps
+
+png: pdf $(png_targets)
+
+$(png_targets): %.png : %.pdf
+ convert -density 300 $< $@
+
+clean:
+ rm -f *.pdf
+ rm -f *.eps
+
+real_clean: clean
+ rm -f *.png
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean