ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/Makefile
(Generate patch)

Comparing trunk/mdtools/mpi_implementation/Makefile (file contents):
Revision 178 by mmeineke, Mon Nov 18 21:24:02 2002 UTC vs.
Revision 254 by chuckv, Thu Jan 30 20:03:37 2003 UTC

# Line 1 | Line 1 | include ../Makefile.inc
1   include ../Makefile.inc
2  
3 +
4   INCLUDE = ../headers
5   CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o
6 + F_OBJ = mpiSimulation_module.o
7  
8 < all: $(LIBDIR)/$(LIBNAME)
8 > all: $(LIBDIR)/$(LIBNAME) f90_include
9  
10 < $(LIBDIR)/$(LIBNAME): $(CP_OBJ)
10 > $(LIBDIR)/$(LIBNAME): $(CP_OBJ) $(F_OBJ)
11          ar -crsv $@ $?
12  
13   mpiBASS.o: $(INCLUDE)/mpiBASS.h mpiBASS.c
# Line 17 | Line 19 | mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimul
19   mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimulation.cpp
20          $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c mpiSimulation.cpp
21  
22 + mpiSimulation_module.o: mpiSimulation_module.F90
23 +        $(FC) $(FFLAGS) -I$(INCLUDE) -c mpiSimulation_module.F90
24 +
25 + f90_include:
26 +        cp *.mod ../f90_include
27 +
28   clean:
29 <        rm *.o *~
29 >        rm *.o *~ *.mod

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines