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 139 by chuckv, Wed Oct 16 21:07:16 2002 UTC

# Line 4 | Line 4 | CP_OBJ = mpiInterface.o
4   #LD = ld
5   #FC = ifc
6   INCLUDE = ../headers
7 < CP_OBJ = mpiInterface.o
7 > CP_OBJ = mpiBASS.o mpiSimulation.o
8   #CFLAGS = -s -static -O3
9   #CFLAGS = -mp -tpp6 -O3
10  
11   LIBDIR = ../lib
12  
13  
14 + GLOBAL_DEPENDS = $(INCLUDE)/mpiBASS.h
15  
15 GLOBAL_DEPENDS = $(INCLUDE)/mpiInterface.h
16
16   all: $(LIBDIR)/libmdtools.a
17  
18   $(LIBDIR)/libmdtools.a: $(CP_OBJ)
19          ar -crsv $@ $?
20  
21  
22 < mpiInterface.o: $(GLOBAL_DEPENDS)
23 <        $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiInterface.c
22 > mpiBASS.o: $(GLOBAL_DEPENDS) mpiBASS.c
23 >        $(CC) $(CFLAGS) -I$(INCLUDE) -c mpiBASS.c
24  
25 + mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimulation.cpp
26 +        $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c mpiSimulation.cpp
27  
27
28   clean:
29          rm *.o *~

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines