1 | OBJS = 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 | |
---|
14 | all: conv |
---|
15 | @echo |
---|
16 | @echo =================================================== |
---|
17 | @echo CONV is ok |
---|
18 | @echo =================================================== |
---|
19 | @echo |
---|
20 | |
---|
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 $@ |
---|
38 | |
---|
39 | main.o : main.c |
---|
40 | fortran.o : fortran.c |
---|
41 | toamr.o : toamr.c decl.h |
---|
42 | WriteInFile.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 |
---|
55 | WorkWithAllocatelist.o : WorkWithAllocatelist.c decl.h |
---|
56 | UtilCharacter.o : UtilCharacter.c decl.h |
---|
57 | UtilListe.o : UtilListe.c decl.h |
---|
58 | UtilFile.o : UtilFile.c decl.h |
---|
59 | WorkWithlistofmodulebysubroutine.o : WorkWithlistofmodulebysubroutine.c decl.h |
---|
60 | WorkWithlistmoduleinfile.o : WorkWithlistmoduleinfile.c decl.h |
---|
61 | WorkWithlistofcoupled.o : WorkWithlistofcoupled.c decl.h |
---|
62 | |
---|
63 | clean: |
---|
64 | # $(MAKE) -f Makefile.lex clean |
---|
65 | $(RM) *.o conv |
---|
66 | |
---|