amber-developers: Patch to the problem that interrupts make clean under src/

From: Mengjuei Hsieh <mengjueh.uci.edu>
Date: Tue, 13 Dec 2005 17:19:37 -0700

Hi,

The make clean script in current src/ would stop at here if dcqtp were not
compiled:
rm ../src/qmmm/libdivcon.a
rm: ../src/qmmm/libdivcon.a: No such file or directory
make[2]: *** [clean] Error 1
make[1]: *** [clean] Error 2
make: *** [clean] Error 2

A simple solution is to add a -f for rm command.

-----cut here
--------------------------------------------------------------
--- src/dcqtp/mod/Makefile.orig 2005-12-13 14:55:13.000000000 -0800
+++ src/dcqtp/mod/Makefile 2005-12-13 16:10:03.000000000 -0800
.. -253,7 +253,7 ..
 
 clean:
     rm -f $(PROG) $(OBJS) $(QMMMOBJS) *.mod
- rm ../src/qmmm/libdivcon.a
+ rm -f ../src/qmmm/libdivcon.a
     
 
 .SUFFIXES: $(SUFFIXES) .F90
-----cut here
--------------------------------------------------------------

Best,
-- 
Mengjuei Hsieh, Luo group, Molecular Biology and Biochemistry, University
of
California Irvine. Tel: 49562, Address: 3144 Natural Science I building,
UCI, Irvine CA 92697-3900. Group Homepage: http://rayl0.bio.uci.edu/

Received on Wed Apr 05 2006 - 23:49:46 PDT
Custom Search