OSDN Git Service

Added instruction for building and copying resp.
authortoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Thu, 6 May 2010 15:11:39 +0000 (15:11 +0000)
committertoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Thu, 6 May 2010 15:11:39 +0000 (15:11 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@41 a2be9bc6-48de-4e38-9406-05402d4bc13c

amber11/src/Makefile
amber11/src/config.h

index d4b7d73..e951471 100644 (file)
@@ -31,13 +31,13 @@ serial: configured_serial
        (cd cblas && $(MAKE) $(BLAS) )
        (cd f2c &&  $(MAKE) $(F2C)  )
        (cd c9x-complex && $(MAKE) $(C9XCOMPLEX) )
-#      (cd etc && $(MAKE) install )
 #      (cd protonate && $(MAKE) install )
 #      (cd chamber && $(MAKE) install )
 #      (cd pbsa && $(MAKE) install )
 
 #      antechamber:
        mkdir -p $(BINDIR)
+       (cd etc && $(MAKE) resp$(SFX) && cp resp$(SFX) $(BINDIR) )
        (cd antechamber && $(MAKE) install )
        (cd sqm && $(MAKE) install )
 
@@ -127,7 +127,7 @@ clean:
        (cd lapack && $(MAKE) clean )
        (cd f2c && $(MAKE) clean )
 #      (cd c9x-complex && $(MAKE) clean )
-#      (cd etc && $(MAKE) clean )
+       (cd etc && $(MAKE) clean )
 #      (cd protonate && $(MAKE) clean )
 #      (cd chamber && $(MAKE) clean )
 #      (cd pbsa && $(MAKE) clean )
index cbcf808..d4c6e1d 100644 (file)
@@ -111,7 +111,11 @@ endif
 
 #  Information about Fortran compilation:
 
+ifeq ($(TARGET_PLATFORM),MAC)
 FC=gfortran $(ISYSROOT)
+else
+FC=gfortran
+endif
 FFLAGS= -O0 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
 FOPTFLAGS= -O3 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
 FREEFORMAT_FLAG= -ffree-form