diff --git a/Fltk/Makefile b/Fltk/Makefile index 696fde46b1b583e421853036a71fa8ff062b9a22..979ac5defe8d4f1ee56494b569c1c46f48f93916 100644 --- a/Fltk/Makefile +++ b/Fltk/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.181 2008-04-22 07:37:09 geuzaine Exp $ +# $Id: Makefile,v 1.182 2008-04-23 23:17:46 geuzaine Exp $ # # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # @@ -50,6 +50,9 @@ ${LIB}: ${OBJ} ${AR} ${ARFLAGS}${LIB} ${OBJ} ${RANLIB} ${LIB} +cpobj: ${OBJ} + cp -f ${OBJ} ../lib/ + .cpp.o: ${CXX} ${CFLAGS} ${DASH}c $< diff --git a/Graphics/Makefile b/Graphics/Makefile index e05a6daec4cd70c589ca96e3ada73969a2fe8a86..38450e34406bb03a8d1738a6b5119a996e6e3ec6 100644 --- a/Graphics/Makefile +++ b/Graphics/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.149 2008-04-22 07:37:09 geuzaine Exp $ +# $Id: Makefile,v 1.150 2008-04-23 23:17:46 geuzaine Exp $ # # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # @@ -51,10 +51,13 @@ OBJ = ${SRC:.cpp=${OBJEXT}} .SUFFIXES: ${OBJEXT} .cpp -${LIB}: ${OBJ} +${LIB}: ${OBJ} ${AR} ${ARFLAGS}${LIB} ${OBJ} ${RANLIB} ${LIB} +cpobj: ${OBJ} + cp -f ${OBJ} ../lib/ + .cpp.o: ${CXX} ${CFLAGS} ${DASH}c $< diff --git a/contrib/Metis/Makefile b/contrib/Metis/Makefile index 0971821e8d2a1e6c51ad72075ea6301bb744fcb6..73aab95dd8f3dfa74f3c8fd0e4d23993bf341fa6 100644 --- a/contrib/Metis/Makefile +++ b/contrib/Metis/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.16 2008-02-17 08:48:09 geuzaine Exp $ +# $Id: Makefile,v 1.17 2008-04-23 23:17:46 geuzaine Exp $ # # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # @@ -21,7 +21,7 @@ include ../../variables -LIB = ../../lib/libGmshMetis.a +LIB = ../../lib/libGmshMetis${LIBEXT} INC = ${DASH}I. @@ -88,6 +88,9 @@ ${LIB}: ${OBJ} ${AR} ${ARFLAGS}${LIB} ${OBJ} ${RANLIB} ${LIB} +cpobj: ${OBJ} + cp -f ${OBJ} ../../lib/ + .c${OBJEXT}: ${CC} ${CFLAGS} ${DASH}c $< ${DASH}o ${<:.c=${OBJEXT}} if [ -r ${notdir ${<:.c=${OBJEXT}}} ]; then\ diff --git a/contrib/NativeFileChooser/Makefile b/contrib/NativeFileChooser/Makefile index 22afa16b863297ae4c86305b8f7bf2e443cce62d..d7a1c5a83a0b42f89db65cf71cc70133c05b6da7 100644 --- a/contrib/NativeFileChooser/Makefile +++ b/contrib/NativeFileChooser/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 2008-04-06 07:51:38 geuzaine Exp $ +# $Id: Makefile,v 1.11 2008-04-23 23:17:46 geuzaine Exp $ # # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # @@ -36,6 +36,9 @@ ${LIB}: ${OBJ} ${AR} ${ARFLAGS}${LIB} ${OBJ} ${RANLIB} ${LIB} +cpobj: ${OBJ} + cp -f ${OBJ} ../../lib/ + .cxx${OBJEXT}: ${CXX} ${CFLAGS} ${DASH}c $<