ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/Makefile
Revision: 254
Committed: Thu Jan 30 20:03:37 2003 UTC (22 years, 3 months ago) by chuckv
File size: 716 byte(s)
Log Message:
Bug fixes for mpi version of code

File Contents

# Content
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) f90_include
9
10 $(LIBDIR)/$(LIBNAME): $(CP_OBJ) $(F_OBJ)
11 ar -crsv $@ $?
12
13 mpiBASS.o: $(INCLUDE)/mpiBASS.h mpiBASS.c
14 $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiBASS.c
15
16 mpiForceField.o: $(INCLUDE)/mpiForceField.h mpiForceField.c
17 $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiForceField.c
18
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 *~ *.mod