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 139 by chuckv, Wed Oct 16 21:07:16 2002 UTC vs.
Revision 178 by mmeineke, Mon Nov 18 21:24:02 2002 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 = mpiBASS.o mpiSimulation.o
8 < #CFLAGS = -s -static -O3
9 < #CFLAGS = -mp -tpp6 -O3
4 > CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o
5  
6 < LIBDIR = ../lib
6 > all: $(LIBDIR)/$(LIBNAME)
7  
8 <
14 < GLOBAL_DEPENDS = $(INCLUDE)/mpiBASS.h
15 <
16 < all: $(LIBDIR)/libmdtools.a
17 <
18 < $(LIBDIR)/libmdtools.a: $(CP_OBJ)
8 > $(LIBDIR)/$(LIBNAME): $(CP_OBJ)
9          ar -crsv $@ $?
10  
11 <
22 < mpiBASS.o: $(GLOBAL_DEPENDS) mpiBASS.c
11 > mpiBASS.o: $(INCLUDE)/mpiBASS.h mpiBASS.c
12          $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiBASS.c
13  
14 + mpiForceField.o: $(INCLUDE)/mpiForceField.h mpiForceField.c
15 +        $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiForceField.c
16 +
17   mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimulation.cpp
18          $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c mpiSimulation.cpp
19  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines