/[MITgcm]/MITgcm/tools/xmakedepend
ViewVC logotype

Diff of /MITgcm/tools/xmakedepend

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

revision 1.1 by heimbach, Mon Feb 11 21:52:31 2002 UTC revision 1.5 by mlosch, Thu Dec 16 14:11:10 2004 UTC
# Line 1  Line 1 
1  #!/usr/bin/sh  #! /usr/bin/env sh
2  #  #
3  # $TOG: mdepend.cpp /main/13 1997/06/20 21:12:18 kaleb $  # $TOG: mdepend.cpp /main/13 1997/06/20 21:12:18 kaleb $
4  #  #
# Line 25  Line 25 
25  # $XFree86: xc/config/util/mdepend.cpp,v 3.2 1997/06/29 07:54:20 dawes Exp $  # $XFree86: xc/config/util/mdepend.cpp,v 3.2 1997/06/29 07:54:20 dawes Exp $
26  #  #
27    
28  CC="cpp -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  "  CPPARGS="-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  "
29    
30    if test -r ./genmake_optfile ; then
31        . ./genmake_optfile
32    fi
33    if test "x$CPP" != x0 ; then
34        CC="$CPP $CPPARGS"
35    else
36        CC="cpp $CPPARGS"
37    fi
38    
39  silent='-'  silent='-'
40    
# Line 118  do Line 127  do
127                              shift                              shift
128                              ;;                              ;;
129    
130                            -cpp)
131                                CC="$2 $CPPARGS"
132                                shift
133                                ;;
134    
135                          -*)                          -*)
136                              echo "Unknown option '$1' ignored" 1>&2                              echo "Unknown option '$1' ignored" 1>&2
137                              ;;                              ;;

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

  ViewVC Help
Powered by ViewVC 1.1.22