Date: Thursday, January 26, 2006 @ 11:36:23
  Author: marc
    Path: /cvsroot/carob/carob/test

Modified: GNUmakefile (1.17 -> 1.18)

Added (target to re-build + dependency to re-link to) library when needed


-------------+
 GNUmakefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)


Index: carob/test/GNUmakefile
diff -u carob/test/GNUmakefile:1.17 carob/test/GNUmakefile:1.18
--- carob/test/GNUmakefile:1.17 Thu Dec 22 18:46:26 2005
+++ carob/test/GNUmakefile      Thu Jan 26 11:36:23 2006
@@ -26,6 +26,7 @@
 CAROB_ROOT                     = ..
 
 LIB_CAROB                      = carob
+LIB_CAROB_FILE                         = ${CAROB_ROOT}/lib${LIB_CAROB}.so
 
 INCDIR                         = ${CAROB_ROOT}/include
 
@@ -47,9 +48,12 @@
 EXE                            = carobTestLauncher
 
 
-${EXE}: ${TESTOBJS} CarobTestLauncher.o
+${EXE}: ${TESTOBJS} CarobTestLauncher.o ${LIB_CAROB_FILE}
        ${CXX} ${LDFLAGS} -o $@ $^
 
+${LIB_CAROB_FILE}:
+       make -C ${CAROB_ROOT}
+
 clean:
        ${RM} ${TESTOBJS} CarobTestLauncher.o ${EXE}
 

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to