Date: Tuesday, April 17, 2007 @ 15:31:40
  Author: marc
    Path: /cvsroot/carob/libmysequoia/ldtest

Modified: Makefile (1.8 -> 1.9)

Added CXXFLAGS


----------+
 Makefile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


Index: libmysequoia/ldtest/Makefile
diff -u libmysequoia/ldtest/Makefile:1.8 libmysequoia/ldtest/Makefile:1.9
--- libmysequoia/ldtest/Makefile:1.8    Tue Apr 17 12:07:17 2007
+++ libmysequoia/ldtest/Makefile        Tue Apr 17 15:31:40 2007
@@ -2,6 +2,7 @@
 
 DOLIB=-shared
 
+# CXXFLAGS=-g3 -Wall # or using the command line
 
 SOLIBS=liborig.so liboverride.so
 ALL=${SOLIBS} plugin.so main
@@ -12,18 +13,18 @@
 all: ${ALL}
 
 liborig.so: orig.c
-       ${CXX} ${DOLIB} $? -o $@
+       ${CXX} ${CXXFLAGS} ${DOLIB} $? -o $@
 
 liboverride.so: override.c liborig.so
-       ${CXX} ${DOLIB} -L. ${OVERLIBFLAGS} override.c -o $@
+       ${CXX} ${CXXFLAGS} ${DOLIB} -L. ${OVERLIBFLAGS} override.c -o $@
 
 
 plugin.so: plugin.c liborig.so
-       ${CXX} ${DOLIB} $? -o $@ -L. -lorig
+       ${CXX} ${CXXFLAGS} ${DOLIB} $? -o $@ -L. -lorig
 
 
 main: main.cpp
-       ${CXX} ${MAINFLAGS} $? -o $@
+       ${CXX} ${CXXFLAGS} ${MAINFLAGS} $? -o $@
 
 clean:
        rm -f ${ALL}

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

Reply via email to