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 134 by chuckv, Fri Oct 11 15:09:09 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 #CC_PLUS = /usr/local/bin/gcc
3 #CC_PLUS = icc
4 #LD = ld
5 #FC = ifc
6 INCLUDE = ../headers
7 CP_OBJ = mpiInterface.o mpiSimulation.o
8 #CFLAGS = -s -static -O3
9 #CFLAGS = -mp -tpp6 -O3
2  
11 LIBDIR = ../lib
3  
4 + INCLUDE = ../headers
5 + CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o
6 + F_OBJ = mpiSimulation_module.o
7  
8 < GLOBAL_DEPENDS = $(INCLUDE)/mpiInterface.h
8 > all: $(LIBDIR)/$(LIBNAME) f90_include
9  
10 < all: $(LIBDIR)/libmdtools.a
17 <
18 < $(LIBDIR)/libmdtools.a: $(CP_OBJ)
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 < mpiInterface.o: $(GLOBAL_DEPENDS) mpiInterface.c
17 <        $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiInterface.c
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 *~
29 >        rm *.o *~ *.mod

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines