summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-03-14 00:08:26 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-03-14 00:08:26 +0300
commit4fad4e58810c5f967642190142d828e632715b5d (patch)
treed55ab6fc8418ae0bf0d56d184c39634115de42ae /Makefile.direct
parent817ea6f69388ffcd14850109806748a5f8e330fd (diff)
downloadbdwgc-4fad4e58810c5f967642190142d828e632715b5d.tar.gz
Rename 'test' to 'check' target in Makefile.direct
This is to match the target name in Makefile generated by configure. * Makefile.direct: Update comment about testing (rename "test" target to "check"). * Makefile.direct (check): Renamed from "test". * Makefile.direct (test): Depend on check; add comment. * README.QUICK (INSTALLATION): Leave information only about the recent GC version. * README.QUICK (INSTALLATION): Replace "make test" with "make check". * README.md (Installation and Portability): Likewise.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.direct b/Makefile.direct
index a2222081..996786d9 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -5,9 +5,9 @@
# gc.a - builds basic library
# c++ - adds C++ interface to library
# cords - adds cords (heavyweight strings) to library
-# test - prints porting information, then builds basic version of gc.a,
-# and runs some tests of collector and cords. Does not add cords or
-# c++ interface to gc.a
+# check - prints porting information, then builds basic version of gc.a,
+# and runs some tests of collector and cords. Does not add cords or
+# c++ interface to gc.a
# cord/de - builds dumb editor based on cords.
ABI_FLAG=
@@ -408,11 +408,14 @@ gctest: tests/test.o gc.a $(UTILS)
setjmp_test: $(srcdir)/tools/setjmp_t.c $(srcdir)/include/gc.h $(UTILS)
$(CC) $(CFLAGS) -o setjmp_test $(srcdir)/tools/setjmp_t.c
-test: cord/cordtest gctest setjmp_test
+check: cord/cordtest gctest setjmp_test
./setjmp_test
./gctest
cord/cordtest
+# A synonym to "check" (for compatibility with older GC versions).
+test: check
+
add_gc_prefix: $(srcdir)/tools/add_gc_prefix.c $(srcdir)/include/gc_version.h
$(CC) -o add_gc_prefix $(srcdir)/tools/add_gc_prefix.c