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 132 by chuckv, Wed Oct 9 22:56:09 2002 UTC vs.
Revision 253 by chuckv, Thu Jan 30 15:20:21 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
2 >
3   INCLUDE = ../headers
4 < CP_OBJ = mpiInterface.o
5 < #CFLAGS = -s -static -O3
9 < #CFLAGS = -mp -tpp6 -O3
4 > CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o
5 > F_OBJ = mpiSimulation_module.o
6  
7 < LIBDIR = ../lib
7 > all: $(LIBDIR)/$(LIBNAME)
8  
9 <
14 <
15 < GLOBAL_DEPENDS = $(INCLUDE)/mpiInterface.h
16 <
17 < all: $(LIBDIR)/libmdtools.a
18 <
19 < $(LIBDIR)/libmdtools.a: $(CP_OBJ)
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 < mpiInterface.o: $(GLOBAL_DEPENDS)
16 <        $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiInterface.c
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 *~

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines