ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/Makefile
Revision: 253
Committed: Thu Jan 30 15:20:21 2003 UTC (22 years, 3 months ago) by chuckv
File size: 658 byte(s)
Log Message:
Added a generic util code directory and moved Linux_ifc_machdep to it.
MPI changes to compile MPI modules.

File Contents

# Content
1 include ../Makefile.inc
2
3 INCLUDE = ../headers
4 CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o
5 F_OBJ = mpiSimulation_module.o
6
7 all: $(LIBDIR)/$(LIBNAME)
8
9 $(LIBDIR)/$(LIBNAME): $(CP_OBJ) $(F_OBJ)
10 ar -crsv $@ $?
11
12 mpiBASS.o: $(INCLUDE)/mpiBASS.h mpiBASS.c
13 $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiBASS.c
14
15 mpiForceField.o: $(INCLUDE)/mpiForceField.h mpiForceField.c
16 $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiForceField.c
17
18 mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimulation.cpp
19 $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c mpiSimulation.cpp
20
21 mpiSimulation_module.o: mpiSimulation_module.F90
22 $(FC) $(FFLAGS) -I$(INCLUDE) -c mpiSimulation_module.F90
23
24 clean:
25 rm *.o *~