URI: 
       tMakefile - cngf-pf-exp1 - experiments for first paper with continuum granular model
  HTML git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       tMakefile (1521B)
       ---
            1 BIN = ../cngf-pf/cngf-pf
            2 FIG != basename $(PWD)
            3 N_SEQ != awk 'BEGIN{for(i=1; i<=220; i+=20) print i}'
            4 
            5 default: ../$(FIG).pdf
            6 
            7 # mimic Iverson 2010 fig 2b
            8 # Caesar till (Rathbun et al., 2008)
            9 mc_caesar.txt: $(BIN) Makefile
           10         rm -f $@
           11         for N in $(N_SEQ); do \
           12                 printf "$$N\t" >> $@; \
           13                 ./$(BIN) -f 0.532 -m 0.532 -c -6.5e3 -n $$N -L 1.0 mc | \
           14                 tail -n 1 | cut -f5 >> $@; \
           15         done
           16 
           17 # Storglaciaren till (Iverson et al., 1998)
           18 mc_storglaciaren.txt: $(BIN) Makefile
           19         rm -f $@
           20         for N in $(N_SEQ); do \
           21                 printf "$$N\t" >> $@; \
           22                 ./$(BIN) -f 0.494 -m 0.494 -c 5.0e3 -n $$N -L 1.0 mc | \
           23                 tail -n 1 | cut -f5 >> $@; \
           24         done
           25 
           26 # Two Rivers till (Iversonet al., 1998)
           27 mc_two_rivers.txt: $(BIN) Makefile
           28         rm -f $@
           29         for N in $(N_SEQ); do \
           30                 printf "$$N\t" >> $@; \
           31                 ./$(BIN) -f 0.321 -m 0.321 -c 14e3 -n $$N -L 1.0 mc | \
           32                 tail -n 1 | cut -f5 >> $@; \
           33         done
           34 
           35 # Des Moines Lobe till (Iverson et al., 2010)
           36 mc_des_moines_lobe.txt: $(BIN) Makefile
           37         rm -f $@
           38         for N in $(N_SEQ); do \
           39                 printf "$$N\t" >> $@; \
           40                 ./$(BIN) -f 0.327 -n 0.327 -c 4.23e3 -n $$N -L 1.0 mc | \
           41                 tail -n 1 | cut -f5 >> $@; \
           42         done
           43 
           44 # WIS till (Tulaczyk et al., 2001)
           45 mc_wis.txt: $(BIN) Makefile
           46         rm -f $@
           47         for N in $(N_SEQ); do \
           48                 printf "$$N\t" >> $@; \
           49                 ./$(BIN) -f 0.445 -n 0.445 -c 3.0e3 -n $$N -L 1.0 mc | \
           50                 tail -n 1 | cut -f5 >> $@; \
           51         done
           52 
           53 ../$(FIG).pdf: fig.gp mc_caesar.txt mc_storglaciaren.txt mc_two_rivers.txt mc_des_moines_lobe.txt mc_wis.txt *.dat
           54         gnuplot fig.gp > $@
           55 
           56 clean:
           57         rm -f *.txt
           58         rm -f ../$(FIG).pdf
           59 
           60 .PHONY: default clean