summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-03-16 10:53:28 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-03-16 10:53:28 +0300
commitc56e3a98d376e7e3477e0510807e6c8d7000e480 (patch)
treebc84d79675ab3c7972c1014ba9f440c53cfa48b4 /Makefile.direct
parent3a4d2006f97bf13100bb561795a5928bb2eb0b11 (diff)
downloadbdwgc-c56e3a98d376e7e3477e0510807e6c8d7000e480.tar.gz
Run test_cpp only if requested (Makefile.direct)
* Makefile.direct (c++-t): Add dependency on test_cpp target. * Makefile.direct (c++): Remove dependency on test_cpp target; do not execute test_cpp.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 7d9886e0..c6e21a65 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -259,13 +259,13 @@ test_cpp: $(srcdir)/tests/test_cpp.cc $(srcdir)/include/gc_cpp.h gc_cpp.o $(srcd
./if_mach HP_PA HPUX $(CXX) $(CXXFLAGS) -o test_cpp $(srcdir)/tests/test_cpp.cc gc_cpp.o gc.a -ldld `./threadlibs`
./if_not_there test_cpp $(CXX) $(CXXFLAGS) -o test_cpp $(srcdir)/tests/test_cpp.cc gc_cpp.o gc.a `./threadlibs`
-c++-t: c++
+c++-t: c++ test_cpp
./test_cpp 1
c++-nt: c++
@echo "Use ./test_cpp 1 to test the leak library"
-c++: gc_cpp.o $(srcdir)/include/gc_cpp.h base_lib test_cpp
+c++: gc_cpp.o $(srcdir)/include/gc_cpp.h base_lib
rm -f dont_ar_4
./if_mach SPARC SOLARIS touch dont_ar_4
./if_mach SPARC SOLARIS $(AR) rus gc.a gc_cpp.o
@@ -273,7 +273,6 @@ c++: gc_cpp.o $(srcdir)/include/gc_cpp.h base_lib test_cpp
./if_mach M68K AMIGA $(AR) -vrus gc.a gc_cpp.o
./if_not_there dont_ar_4 $(AR) ru gc.a gc_cpp.o
./if_not_there dont_ar_4 $(RANLIB) gc.a || cat /dev/null
- ./test_cpp 1
echo > c++
dyn_load_sunos53.o: dyn_load.c