Initial commit
This commit is contained in:
		
							
								
								
									
										23
									
								
								figs/bec_phase.fig/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								figs/bec_phase.fig/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
PROJECT=$(basename $(wildcard *.gnuplot))
 | 
			
		||||
 | 
			
		||||
all: $(addsuffix .pdf, $(PROJECT))
 | 
			
		||||
 | 
			
		||||
define gnuplot2pdf
 | 
			
		||||
	gnuplot $(1).gnuplot > $(1).tikz.tex
 | 
			
		||||
	pdflatex -jobname $(1) -file-line-error $(1).tikz.tex
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
bec_phase.pdf:
 | 
			
		||||
	$(call gnuplot2pdf, $(basename $@))
 | 
			
		||||
 | 
			
		||||
clean-aux:
 | 
			
		||||
	rm -f $(addsuffix .tikz.tex, $(PROJECT))
 | 
			
		||||
	rm -f *.aux *.log
 | 
			
		||||
 | 
			
		||||
clean-dat:
 | 
			
		||||
	rm -f phase_boundary.dat
 | 
			
		||||
 | 
			
		||||
clean-pdf:
 | 
			
		||||
	rm -f $(addsuffix .pdf, $(PROJECT))
 | 
			
		||||
 | 
			
		||||
clean: clean-aux clean-pdf
 | 
			
		||||
		Reference in New Issue
	
	Block a user