1 |
|
include ../Makefile.inc |
2 |
|
|
3 |
|
INCLUDE = ../headers |
4 |
< |
F_OBJ = Linux_ifc_machdef.o atype_typedefs.o generic_atype_recombination.o \ |
4 |
> |
F_OBJ = atype_typedefs.o generic_atype_recombination.o \ |
5 |
|
simulation_module.o lj_FF.o wrappers.o f_verlet_constrained.o |
6 |
|
|
7 |
|
CP_OBJ = Bend.o Torsion.o Bond.o Verlet.o InitializeFromFile.o \ |
8 |
|
BondExtensions.o BendExtensions.o TorsionExtensions.o Thermo.o \ |
9 |
|
DirectionalAtom.o AllLong.o DumpWriter.o StatWriter.o Symplectic.o\ |
10 |
< |
SimInfo.o |
10 |
> |
SimInfo.o randomSPRNG.o |
11 |
|
|
12 |
+ |
FFLAGS += -I../mpi_implementation/ |
13 |
+ |
|
14 |
+ |
|
15 |
|
all: $(LIBDIR)/$(LIBNAME) |
16 |
|
|
17 |
|
$(LIBDIR)/$(LIBNAME): $(F_OBJ) $(CP_OBJ) |
21 |
|
f_verlet_constrained.o: f_verlet_constrained.f |
22 |
|
$(FC) $(FFLAGS) -c f_verlet_constrained.f |
23 |
|
|
24 |
< |
|
22 |
< |
Linux_ifc_machdef.o: Linux_ifc_machdep.F90 |
23 |
< |
$(FC) $(FFLAGS) -c Linux_ifc_machdep.F90 |
24 |
< |
|
25 |
< |
atype_typedefs.o: atype_typedefs.F90 Linux_ifc_machdef.o |
24 |
> |
atype_typedefs.o: atype_typedefs.F90 |
25 |
|
$(FC) $(FFLAGS) -c atype_typedefs.F90 |
26 |
|
|
27 |
< |
generic_atype_recombination.o: generic_atype_recombination.F90 Linux_ifc_machdef.o atype_typedefs.o |
27 |
> |
generic_atype_recombination.o: generic_atype_recombination.F90 atype_typedefs.o |
28 |
|
$(FC) $(FFLAGS) -c generic_atype_recombination.F90 |
29 |
|
|
30 |
< |
simulation_module.o:simulation_module.F90 Linux_ifc_machdef.o |
30 |
> |
simulation_module.o:simulation_module.F90 |
31 |
|
$(FC) $(FFLAGS) -c simulation_module.F90 |
32 |
|
|
33 |
|
lj_FF.o: lj_FF.F90 simulation_module.o generic_atype_recombination.o \ |
34 |
< |
atype_typedefs.o Linux_ifc_machdef.o |
34 |
> |
atype_typedefs.o |
35 |
|
$(FC) $(FFLAGS) -c lj_FF.F90 |
36 |
|
|
37 |
|
wrappers.o: wrappers.F90 simulation_module.o |
86 |
|
SimInfo.o: $(INCLUDE)/SimInfo.hpp SimInfo.cpp |
87 |
|
$(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c SimInfo.cpp |
88 |
|
|
89 |
+ |
randomSPRNG.o: $(INCLUDE)/randomSPRNG.hpp randomSPRNG.cpp |
90 |
+ |
$(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c randomSPRNG.cpp |
91 |
+ |
|
92 |
+ |
f90_include: |
93 |
+ |
cp *.mod ../f90_include |
94 |
|
clean: |
95 |
< |
rm *.o *~ work.pcl work.pc |
95 |
> |
rm *.o *~ *.mod |