Initial revision
[ptslat.git] / Makefile
blobd547440c1d577eaa3d9a4c715f4e1aaa375187c6
2 include make.ifort
4 OBJECTS = dot_geo.o aux_proc.o input.o ncpack_str.o\
5 ncpack_pzo.o ncpack_pot.o elipt.o pzo_mod.o\
6 str_mod.o pzo_slat.o str_slat.o pot_slat.o\
7 poten.o
9 EXEC=poten
11 poten: $(OBJECTS)
12 $(FORC) $(FFLAGS) $(EXEC) $(OBJECTS) $(LFLAGS) $(LNETCDF) $(LLOCAL)\
13 $(LSLATEC) $(LSCSL)
15 poten.o: poten.f90 dot_geo.f90 aux_proc.f90 input.f90 ncpack_str.f90\
16 ncpack_pzo.f90 ncpack_pot.f90
17 $(FORC) $(FFLAGC) $(INETCDF) poten.f90
19 input.o: input.f90 dot_geo.f90 aux_proc.f90
20 $(FORC) $(FFLAGC) input.f90
22 elipt.o: elipt.f90
23 $(FORC) $(FFLAGC) elipt.f90
25 pzo_mod.o: pzo_mod.f90 input.f90 elipt.f90
26 $(FORC) $(FFLAGC) pzo_mod.f90
28 str_mod.o: str_mod.f90 input.f90 elipt.f90
29 $(FORC) $(FFLAGC) str_mod.f90
31 ncpack_pot.o: ncpack_pot.f90 dot_geo.f90
32 $(FORC) $(FFLAGC) ncpack_pot.f90 $(INETCDF)
34 ncpack_pzo.o: ncpack_pzo.f90 dot_geo.f90
35 $(FORC) $(FFLAGC) ncpack_pzo.f90 $(INETCDF)
37 ncpack_str.o: ncpack_str.f90 dot_geo.f90
38 $(FORC) $(FFLAGC) ncpack_str.f90 $(INETCDF)
40 pzo_slat.o: pzo_slat.f90 input.f90 dot_geo.f90\
41 aux_proc.f90 pzo_mod.f90
42 $(FORC) $(FFLAGC) pzo_slat.f90
44 str_slat.o: str_slat.f90 input.f90 dot_geo.f90\
45 aux_proc.f90 str_mod.f90
46 $(FORC) $(FFLAGC) str_slat.f90
48 pot_slat.o: pot_slat.f90 input.f90 dot_geo.f90\
49 aux_proc.f90
50 $(FORC) $(FFLAGC) pot_slat.f90
52 dot_geo.o: dot_geo.f90
53 $(FORC) $(FFLAGC) dot_geo.f90
55 aux_proc.o: aux_proc.f90
56 $(FORC) $(FFLAGC) aux_proc.f90 $(INETCDF)
57 clean:
58 rm -f *.o *.d *.mod work.pc