[1901] | 1 | #- option to debug |
---|
| 2 | C_D = -g # -g -Wall |
---|
| 3 | # Compilation: |
---|
| 4 | CC = cc -O |
---|
| 5 | #- |
---|
| 6 | OBJS = main.o WriteInFile.o toamr.o fortran.o \ |
---|
| 7 | dependfile.o SubLoopCreation.o WorkWithlistvarindoloop.o \ |
---|
| 8 | WorkWithvarofsubroutineliste.o WorkWithParameterlist.o \ |
---|
| 9 | Writedeclarations.o WorkWithglobliste.o UtilFortran.o \ |
---|
| 10 | UtilNotGridDep.o WorkWithlistdatavariable.o \ |
---|
| 11 | DiversListe.o UtilAgrif.o WorkWithAllocatelist.o \ |
---|
| 12 | UtilCharacter.o UtilListe.o UtilFile.o \ |
---|
| 13 | WorkWithlistofmodulebysubroutine.o WorkWithlistmoduleinfile.o \ |
---|
| 14 | WorkWithlistofcoupled.o |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | .SUFFIXES: |
---|
| 18 | .SUFFIXES: .c .o |
---|
| 19 | |
---|
| 20 | all : conv |
---|
| 21 | @echo CONV is ok |
---|
| 22 | |
---|
| 23 | conv : $(OBJS) |
---|
[5440] | 24 | @$(CC) $(OBJS) -o ../$@ |
---|
[1901] | 25 | |
---|
| 26 | main.o : main.c |
---|
| 27 | fortran.o : fortran.c |
---|
| 28 | toamr.o : toamr.c decl.h |
---|
| 29 | WriteInFile.o : WriteInFile.c decl.h |
---|
| 30 | dependfile.o : dependfile.c decl.h |
---|
| 31 | SubLoopCreation.o : SubLoopCreation.c decl.h |
---|
| 32 | WorkWithglobliste.o : WorkWithglobliste.c decl.h |
---|
| 33 | WorkWithlistvarindoloop.o : WorkWithlistvarindoloop.c decl.h |
---|
| 34 | WorkWithvarofsubroutineliste.o : WorkWithvarofsubroutineliste.c decl.h |
---|
| 35 | Writedeclarations.o : Writedeclarations.c decl.h |
---|
| 36 | UtilFortran.o : UtilFortran.c decl.h |
---|
| 37 | WorkWithParameterlist.o : WorkWithParameterlist.c decl.h |
---|
| 38 | UtilNotGridDep.o : UtilNotGridDep.c decl.h |
---|
| 39 | WorkWithlistdatavariable.o : WorkWithlistdatavariable.c decl.h |
---|
| 40 | DiversListe.o : DiversListe.c decl.h |
---|
| 41 | UtilAgrif.o : UtilAgrif.c decl.h |
---|
| 42 | WorkWithAllocatelist.o : WorkWithAllocatelist.c decl.h |
---|
| 43 | UtilCharacter.o : UtilCharacter.c decl.h |
---|
| 44 | UtilListe.o : UtilListe.c decl.h |
---|
| 45 | UtilFile.o : UtilFile.c decl.h |
---|
| 46 | WorkWithlistofmodulebysubroutine.o : WorkWithlistofmodulebysubroutine.c decl.h |
---|
| 47 | WorkWithlistmoduleinfile.o : WorkWithlistmoduleinfile.c decl.h |
---|
| 48 | WorkWithlistofcoupled.o : WorkWithlistofcoupled.c decl.h |
---|
| 49 | clean : |
---|
| 50 | /bin/rm -f *.o y.output |
---|