ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/Makefile
(Generate patch)

Comparing trunk/mdtools/interface_implementation/Makefile (file contents):
Revision 131 by chuckv, Wed Oct 9 22:29:40 2002 UTC vs.
Revision 254 by chuckv, Thu Jan 30 20:03:37 2003 UTC

# Line 1 | Line 1
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 = BASS_interface.o MakeStamps.o LinkedAssign.o Component.o Globals.o\
5          LinkedCommand.o SimSetup.o TraPPEFF.o DipoleTestFF.o TraPPE_ExFF.o\
6 <        bassDiag.o
10 < #CFLAGS = -s -static -O3
11 < #CFLAGS = -mp -tpp6 -O3
6 >        bassDiag.o simError.o LJ_FF.o
7  
8 < LIBDIR = ../lib
8 > F_OBJ = forceFactory.o
9  
10   MCL_DEPENDS = $(INCLUDE)/BASS_interface.h $(INCLUDE)/MakeStamps.hpp \
11          $(INCLUDE)/Globals.hpp ./BASS_interface.cpp
# Line 23 | Line 18 | all: $(LIBDIR)/libmdtools.a
18   GLOBAL_DEPENDS = $(INCLUDE)/BASS_interface.h $(INCLUDE)/Globals.hpp\
19          $(INCLUDE)/MakeStamps.hpp $(INCLUDE)/LinkedCommand.hpp ./Globals.cpp
20  
21 < all: $(LIBDIR)/libmdtools.a
21 > all: $(LIBDIR)/$(LIBNAME)
22  
23 < $(LIBDIR)/libmdtools.a: $(CP_OBJ)
23 > $(LIBDIR)/$(LIBNAME): $(CP_OBJ) $(F_OBJ)
24          ar -crsv $@ $?
25  
26 + forceFactory.o: forceFactory.F90
27 +        $(FC) $(FFLAGS) -I$(INCLUDE) -I../md_code -c forceFactory.F90
28 +
29   BASS_interface.o: $(MCL_DEPENDS)
30          $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c BASS_interface.cpp
31  
# Line 61 | Line 59 | bassDiag.o: $(INCLUDE)/bassDiag.hpp ./bassDiag.cpp
59   bassDiag.o: $(INCLUDE)/bassDiag.hpp ./bassDiag.cpp
60          $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c bassDiag.cpp
61  
62 + simError.o: $(INCLUDE)/simError.h ./simError.c
63 +        $(CC) $(CFLAGS) -I$(INCLUDE) -c simError.c
64  
65 + LJ_FF.o: $(INCLUDE)/ForceFields.hpp ./LJ_FF.cpp
66 +        $(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c LJ_FF.cpp
67  
68   clean:
69          rm *.o *~

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines