/[MITgcm]/MITgcm/doc/api_reference/configure
ViewVC logotype

Diff of /MITgcm/doc/api_reference/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by edhill, Fri Mar 26 19:41:44 2004 UTC revision 1.2 by edhill, Fri Mar 26 23:46:11 2004 UTC
# Line 18  cat ./dir_list | grep -v '^[ ]*#' | grep Line 18  cat ./dir_list | grep -v '^[ ]*#' | grep
18  name=$0  name=$0
19  cat <<EOF > Makefile  cat <<EOF > Makefile
20  #  #
21    #  ========================================
22    #
23  #  CREATED BY $name -- DO NOT EDIT !!!  #  CREATED BY $name -- DO NOT EDIT !!!
24  #  #
25    #  ========================================
26    #
27    
28    .SUFFIXES:
29    
30  all: all_protex  all: all_protex
31    
32  clean:  clean:
33          -rm -f *.tex          -rm -f *.tex *.aux *.dvi *.log *.toc
34    
35  EOF  EOF
36    
# Line 72  $target: $d_F $d_h $d_c Line 78  $target: $d_F $d_h $d_c
78          -rm -f $target          -rm -f $target
79  EOF  EOF
80      if test ! "x$F_files" = x ; then      if test ! "x$F_files" = x ; then
81          printf '\t%s\n' "-./protex -7 $d_F >> $target" >> Makefile          printf '\t%s\n' "-./protex -b7 $d_F >> $target" >> Makefile
82      fi      fi
83      if test ! "x$h_files" = x ; then      if test ! "x$h_files" = x ; then
84          printf '\t%s\n' "-./protex -7 $d_h >> $target" >> Makefile          printf '\t%s\n' "-./protex -b7 $d_h >> $target" >> Makefile
85      fi      fi
86      if test ! "x$c_files" = x ; then      if test ! "x$c_files" = x ; then
87          printf '\t%s\n' "-./protex -C $d_c >> $target" >> Makefile          printf '\t%s\n' "-./protex -bC $d_c >> $target" >> Makefile
88      fi      fi
89    
90      if test ! "x$target" = x ; then      if test ! "x$target" = x ; then
# Line 98  cat <<EOF >> Makefile Line 104  cat <<EOF >> Makefile
104  makefile:  makefile:
105          $0          $0
106    
107    api_main.tex: \$(ALLTEX)
108            -./build_main \$(ALLTEX)
109    
110  all_protex: \$(ALLTEX)  api_main.dvi:  api_main.tex
111          -echo "hi"          latex api_main
112            latex api_main
113            latex api_main
114    
115    all_protex: api_main.dvi
116    
117  EOF  EOF
118    
119  rm -f ./.dir_list_nocomments  rm -f ./.dir_list_nocomments
120    rm -f ./.targets
121    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22