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.
Makefile in branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/EXTERNAL/AGRIF/LIB – NEMO

source: branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/EXTERNAL/AGRIF/LIB/Makefile @ 4779

Last change on this file since 4779 was 4779, checked in by rblod, 10 years ago

Update AGRIF internal routines and conv on branch dev_r4765_CNRS_agrif

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1OBJS = main.o WriteInFile.o toamr.o fortran.o  \
2       dependfile.o SubLoopCreation.o WorkWithlistvarindoloop.o \
3       WorkWithvarofsubroutineliste.o WorkWithParameterlist.o \
4       Writedeclarations.o WorkWithglobliste.o UtilFortran.o \
5       UtilNotGridDep.o WorkWithlistdatavariable.o \
6       DiversListe.o UtilAgrif.o WorkWithAllocatelist.o \
7       UtilCharacter.o UtilListe.o UtilFile.o \
8       WorkWithlistofmodulebysubroutine.o WorkWithlistmoduleinfile.o \
9       WorkWithlistofcoupled.o
10
11.SUFFIXES:
12.SUFFIXES: .c .o
13
14all: conv
15   @echo
16   @echo ===================================================
17   @echo   CONV is ok
18   @echo ===================================================
19   @echo
20
21main.c: convert.y convert.lex
22   @echo ===================================================
23   @echo   Rebuilding main.c ...
24   @echo ===================================================
25   $(MAKE) -f Makefile.lex main.c
26
27fortran.c: fortran.y fortran.lex
28   @echo ===================================================
29   @echo   Rebuilding fortran.c ...
30   @echo ===================================================
31   $(MAKE) -f Makefile.lex fortran.c
32
33conv: $(OBJS)
34   $(CC) $(CFLAGS) -g $(OBJS) -o ../$@
35
36%.o: %.c
37   $(CC) $(CFLAGS) -g -c $< -o $@
38
39main.o : main.c
40fortran.o : fortran.c   
41toamr.o : toamr.c decl.h
42WriteInFile.o : WriteInFile.c decl.h
43dependfile.o : dependfile.c decl.h
44SubLoopCreation.o : SubLoopCreation.c decl.h
45WorkWithglobliste.o : WorkWithglobliste.c decl.h
46WorkWithlistvarindoloop.o : WorkWithlistvarindoloop.c decl.h
47WorkWithvarofsubroutineliste.o : WorkWithvarofsubroutineliste.c decl.h
48Writedeclarations.o : Writedeclarations.c decl.h
49UtilFortran.o : UtilFortran.c decl.h
50WorkWithParameterlist.o : WorkWithParameterlist.c decl.h
51UtilNotGridDep.o : UtilNotGridDep.c decl.h
52WorkWithlistdatavariable.o : WorkWithlistdatavariable.c decl.h
53DiversListe.o : DiversListe.c decl.h
54UtilAgrif.o : UtilAgrif.c decl.h
55WorkWithAllocatelist.o : WorkWithAllocatelist.c decl.h
56UtilCharacter.o : UtilCharacter.c decl.h
57UtilListe.o : UtilListe.c decl.h
58UtilFile.o : UtilFile.c decl.h
59WorkWithlistofmodulebysubroutine.o : WorkWithlistofmodulebysubroutine.c decl.h
60WorkWithlistmoduleinfile.o : WorkWithlistmoduleinfile.c decl.h
61WorkWithlistofcoupled.o : WorkWithlistofcoupled.c decl.h
62
63clean:
64   $(MAKE) -f Makefile.lex clean
65   $(RM) *.o conv
66   
67clean-all: clean
68   $(MAKE) -f Makefile.lex clean-all
Note: See TracBrowser for help on using the repository browser.