URI: 
       tfetch submodules and compile cngf-pf from root makefile - hansen-zoet-exp - comparison of lab and model results of sediment advection
  HTML git clone git://src.adamsgaard.dk/hansen-zoet-exp
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR LICENSE
       ---
   DIR commit 90939b5c745c8cb6e0e39ed01c9102f358b59297
   DIR parent 1a81425cdf3a9e6ad99d7340b62677b854f98f5c
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Sat, 23 Apr 2022 12:05:05 +0200
       
       fetch submodules and compile cngf-pf from root makefile
       
       Diffstat:
         M Makefile                            |       8 +++++++-
       
       1 file changed, 7 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       t@@ -4,7 +4,13 @@ REPO = cngf-pf
        FIGDIRS != find . -maxdepth 1 -type d -name 'fig-*' | sed 's/\.\///'
        FIGURES = $(FIGDIRS:=.pdf)
        
       -default: $(FIGURES)
       +default: ${REPO}/cngf-pf $(FIGURES)
       +
       +${REPO}/cngf-pf: ${REPO}/cngf-pf.c
       +        CFLAGS="-march=native -O3 -pipe" make -C ${REPO}
       +
       +${REPO}/cngf-pf.c:
       +        git submodule update --init
        
        fig-effective_stress.pdf: $(REPO)/$(REPO)
                (cd $(@:.pdf=) && make)