New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6372 for branches/UKMO/dev_r5518_debug_isf_restart/NEMOGCM/EXTERNAL/AGRIF/LIB/Makefile – NEMO

Ignore:
Timestamp:
2016-03-08T11:12:40+01:00 (8 years ago)
Author:
frrh
Message:

Reverse previous merge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_debug_isf_restart/NEMOGCM/EXTERNAL/AGRIF/LIB/Makefile

    r6371 r6372  
     1#- option to debug 
     2C_D = -g # -g -Wall 
     3# Compilation: 
     4CC    = cc -O 
     5#- 
    16OBJS = main.o WriteInFile.o toamr.o fortran.o  \ 
    27       dependfile.o SubLoopCreation.o WorkWithlistvarindoloop.o \ 
     
    914       WorkWithlistofcoupled.o 
    1015 
     16 
    1117.SUFFIXES: 
    1218.SUFFIXES: .c .o 
    1319 
    14 all: conv 
    15    @echo 
    16    @echo =================================================== 
    17    @echo   CONV is ok 
    18    @echo =================================================== 
    19    @echo 
     20all : conv 
     21   @echo CONV is ok 
    2022 
    21 #main.c: convert.y convert.lex 
    22 #  @echo =================================================== 
    23 #  @echo   Rebuilding main.c ... 
    24 #  @echo =================================================== 
    25 #  $(MAKE) -f Makefile.lex main.c 
    26  
    27 #fortran.c: fortran.y fortran.lex 
    28 #  @echo =================================================== 
    29 #  @echo   Rebuilding fortran.c ... 
    30 #  @echo =================================================== 
    31 #  $(MAKE) -f Makefile.lex fortran.c 
    32  
    33 conv: $(OBJS) 
    34    $(CC) $(CFLAGS) -g $(OBJS) -o ../$@ 
    35  
    36 %.o: %.c 
    37    $(CC) $(CFLAGS) -g -c $< -o $@ 
     23conv :  $(OBJS) 
     24   @$(CC) $(OBJS) -o ../$@ 
    3825 
    3926main.o : main.c 
     
    4128toamr.o : toamr.c decl.h 
    4229WriteInFile.o : WriteInFile.c decl.h 
    43 dependfile.o : dependfile.c decl.h 
    44 SubLoopCreation.o : SubLoopCreation.c decl.h 
    45 WorkWithglobliste.o : WorkWithglobliste.c decl.h 
    46 WorkWithlistvarindoloop.o : WorkWithlistvarindoloop.c decl.h 
    47 WorkWithvarofsubroutineliste.o : WorkWithvarofsubroutineliste.c decl.h 
    48 Writedeclarations.o : Writedeclarations.c decl.h 
    49 UtilFortran.o : UtilFortran.c decl.h 
    50 WorkWithParameterlist.o : WorkWithParameterlist.c decl.h 
    51 UtilNotGridDep.o : UtilNotGridDep.c decl.h 
    52 WorkWithlistdatavariable.o : WorkWithlistdatavariable.c decl.h 
    53 DiversListe.o : DiversListe.c decl.h 
    54 UtilAgrif.o : UtilAgrif.c decl.h 
     30dependfile.o : dependfile.c decl.h   
     31SubLoopCreation.o : SubLoopCreation.c decl.h  
     32WorkWithglobliste.o : WorkWithglobliste.c decl.h    
     33WorkWithlistvarindoloop.o : WorkWithlistvarindoloop.c decl.h    
     34WorkWithvarofsubroutineliste.o : WorkWithvarofsubroutineliste.c decl.h   
     35Writedeclarations.o : Writedeclarations.c decl.h    
     36UtilFortran.o : UtilFortran.c decl.h    
     37WorkWithParameterlist.o : WorkWithParameterlist.c decl.h  
     38UtilNotGridDep.o : UtilNotGridDep.c decl.h    
     39WorkWithlistdatavariable.o : WorkWithlistdatavariable.c decl.h  
     40DiversListe.o : DiversListe.c decl.h    
     41UtilAgrif.o : UtilAgrif.c decl.h  
    5542WorkWithAllocatelist.o : WorkWithAllocatelist.c decl.h 
    5643UtilCharacter.o : UtilCharacter.c decl.h 
     
    6047WorkWithlistmoduleinfile.o : WorkWithlistmoduleinfile.c decl.h 
    6148WorkWithlistofcoupled.o : WorkWithlistofcoupled.c decl.h 
    62  
    63 clean: 
    64 #  $(MAKE) -f Makefile.lex clean 
    65    $(RM) *.o conv 
    66     
     49clean :  
     50   /bin/rm -f *.o y.output 
Note: See TracChangeset for help on using the changeset viewer.