Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:44:44 UTC

view on githubraw file Latest commit bf5846c3 on 2004-02-25 18:19:54 UTC
bf5846c3a1 Ed H*0001 # Makefile for makedepend
                0002 #
                0003 # @configure_input@
                0004 # Copyright (c) 1998-2000 Carnegie Mellon University.  All rights reserved.
                0005 #
                0006 # Redistribution and use in source and binary forms, with or without
                0007 # modification, are permitted provided that the following conditions
                0008 # are met:
                0009 #
                0010 # 1. Redistributions of source code must retain the above copyright
                0011 #    notice, this list of conditions and the following disclaimer. 
                0012 #
                0013 # 2. Redistributions in binary form must reproduce the above copyright
                0014 #    notice, this list of conditions and the following disclaimer in
                0015 #    the documentation and/or other materials provided with the
                0016 #    distribution.
                0017 #
                0018 # 3. The name "Carnegie Mellon University" must not be used to
                0019 #    endorse or promote products derived from this software without
                0020 #    prior written permission. For permission or any other legal
                0021 #    details, please contact  
                0022 #      Office of Technology Transfer
                0023 #      Carnegie Mellon University
                0024 #      5000 Forbes Avenue
                0025 #      Pittsburgh, PA  15213-3890
                0026 #      (412) 268-4387, fax: (412) 268-7395
                0027 #      tech-transfer@andrew.cmu.edu
                0028 #
                0029 # 4. Redistributions of any form whatsoever must retain the following
                0030 #    acknowledgment:
                0031 #    "This product includes software developed by Computing Services
                0032 #     at Carnegie Mellon University (http://www.cmu.edu/computing/)."
                0033 #
                0034 # CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
                0035 # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
                0036 # AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
                0037 # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                0038 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
                0039 # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
                0040 # OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
                0041 # 
                0042 # 
                0043 srcdir = @srcdir@
                0044 VPATH = @srcdir@
                0045 
                0046 CC = @CC@
                0047 INSTALL = @INSTALL@
                0048 RANLIB = @RANLIB@
                0049 
                0050 DEFS = @DEFS@
                0051 CPPFLAGS = -I. -I$(srcdir)  @CPPFLAGS@ 
                0052 LIBS = @LIBS@
                0053 DEPLIBS = @DEPLIBS@ 
                0054 
                0055 CFLAGS = @CFLAGS@
                0056 LDFLAGS = @LDFLAGS@
                0057 
                0058 SHELL = /bin/sh
                0059 
                0060 all: makedepend
                0061 
                0062 .c.o:
                0063         $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
                0064 
                0065 makedepend: cppsetup.o ifparser.o include.o main.o parse.o pr.o
                0066         $(CC) $(LDFLAGS) -o makedepend cppsetup.o ifparser.o include.o \
                0067                 main.o parse.o pr.o $(DEPLIBS) $(LIBS)
                0068 
                0069 clean:
                0070         rm -f *.o Makefile.bak makedepend
                0071 
                0072 distclean: clean
                0073         rm -f Makefile
                0074 
                0075 depend:
                0076         makedepend $(CPPFLAGS) $(DEFS) $(CFLAGS) *.c $(srcdir)/*.c 1>makedepend.log 2>&1
                0077 
                0078 # DO NOT DELETE THIS LINE -- make depend depends on it.
                0079