1 | #- option to debug |
---|
2 | C_D = -g # -g -Wall |
---|
3 | # Compilation: |
---|
4 | CC = @$(C_L) $(C_O) $(C_D) |
---|
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 | |
---|
15 | .SUFFIXES: |
---|
16 | .SUFFIXES: .c .o |
---|
17 | |
---|
18 | all : conv |
---|
19 | @echo CONV is ok |
---|
20 | |
---|
21 | conv : $(OBJS) |
---|
22 | @$(CC) $(OBJS) -o ../$@ |
---|
23 | |
---|
24 | main.o : main.c |
---|
25 | fortran.o : fortran.c |
---|
26 | toamr.o : toamr.c decl.h |
---|
27 | WriteInFile.o : WriteInFile.c decl.h |
---|
28 | dependfile.o : dependfile.c decl.h |
---|
29 | SubLoopCreation.o : SubLoopCreation.c decl.h |
---|
30 | WorkWithglobliste.o : WorkWithglobliste.c decl.h |
---|
31 | WorkWithlistvarindoloop.o : WorkWithlistvarindoloop.c decl.h |
---|
32 | WorkWithvarofsubroutineliste.o : WorkWithvarofsubroutineliste.c decl.h |
---|
33 | Writedeclarations.o : Writedeclarations.c decl.h |
---|
34 | UtilFortran.o : UtilFortran.c decl.h |
---|
35 | WorkWithParameterlist.o : WorkWithParameterlist.c decl.h |
---|
36 | UtilNotGridDep.o : UtilNotGridDep.c decl.h |
---|
37 | WorkWithlistdatavariable.o : WorkWithlistdatavariable.c decl.h |
---|
38 | DiversListe.o : DiversListe.c decl.h |
---|
39 | UtilAgrif.o : UtilAgrif.c decl.h |
---|
40 | WorkWithAllocatelist.o : WorkWithAllocatelist.c decl.h |
---|
41 | UtilCharacter.o : UtilCharacter.c decl.h |
---|
42 | UtilListe.o : UtilListe.c decl.h |
---|
43 | UtilFile.o : UtilFile.c decl.h |
---|
44 | WorkWithlistofmodulebysubroutine.o : WorkWithlistofmodulebysubroutine.c decl.h |
---|
45 | WorkWithlistmoduleinfile.o : WorkWithlistmoduleinfile.c decl.h |
---|
46 | clean : |
---|
47 | /bin/rm -f *.o y.output |
---|