diff options
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 |