diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-14 21:54:30 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-14 21:54:30 -0500 |
commit | 9210082c091fcb8dfd41ff7029c2625fc0a18874 (patch) | |
tree | 43cd9af50fea13ecd15deeeadbc3da4bf180f5af /xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp | |
parent | 713ec4a1c6abb2fae7a10216d1ed36219654e314 (diff) | |
download | Nresonances-9210082c091fcb8dfd41ff7029c2625fc0a18874.tar.gz Nresonances-9210082c091fcb8dfd41ff7029c2625fc0a18874.zip |
added and modified required Makefiles
Diffstat (limited to 'xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp')
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp index 2225312..bca7f56 100644 --- a/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp +++ b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.pp @@ -28,7 +28,7 @@ include $(PARAMS_FILE) # slow light EIT #PARAMS = --delta1=0 --delta2=0 --delta3=0 --E1o=1.9e7 --E2o=3.1e5 --E3o=0 --E4o=0 -all: $(XSIL_FILES) Nlevels_with_doppler_with_z_4wm.xsil $(M_FILES) plot png +all: $(XSIL_FILES) Nlevels_with_doppler_with_z_4wm.xsil $(M_FILES) plot fig Nlevels_with_doppler_with_z_4wm.xsil: ../Nlevels_with_doppler_with_z_4wm.run $(PARAMS_FILE) $< $(PARAMS) | grep "Time elapsed for simulation is:" > exact_analysis_execution_time.txt @@ -36,6 +36,10 @@ Nlevels_with_doppler_with_z_4wm.xsil: ../Nlevels_with_doppler_with_z_4wm.run $(P %.m: %.xsil $(XSIL2GRAPHICS) $< +fig: + $(MAKE) -f $(SCRIPTS_DIR)/Makefile.fig $@ + + pretty_plots: pp_I2.stamp $(GNUPLOT_FILES) gnuplot $(SCRIPTS_DIR)/plot_fields_propagation_I2.gp gnuplot $(SCRIPTS_DIR)/plot_fields_propagation_I4.gp @@ -46,28 +50,13 @@ pp_I2.stamp: $(XSIL_FILES) $(M_FILES) octave -q $(SCRIPTS_DIR)/pp_I2.m clean: - rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf - rm -f $(pdf_targets) - rm -f $(eps_targets) + rm -f $(M_FILES) $(XSIL_FILES) *.dat octave-core + rm -f pp_I2.stamp + $(MAKE) -f $(SCRIPTS_DIR)/Makefile.fig $@ real_clean: clean - rm -f $(png_targets) - -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 -q -B > __tt.eps - epspdf __tt.eps $@ - @rm -f __tt.eps - -png: pdf $(png_targets) - -$(png_targets): %.png : %.pdf - convert -density 300 $< $@ + $(MAKE) -f $(SCRIPTS_DIR)/Makefile.fig $@ + rm -f exact_analysis_execution_time.txt .PRECIOUS: %.run %.xsil %.m .PHONY: all clean |