From b7761e9a2e56d2b3e8261d99420c1a50da31081e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 23 Jan 2019 18:41:41 -0800 Subject: [PATCH] GUACAMOLE-637: The `$^` variable is non-portable and specific to GNU Make. As otherwise POSIX-compliant platforms may not provide this variable, we shouldn't use it here. --- README-unit-testing.md | 2 +- src/common/tests/Makefile.am | 2 +- src/libguac/tests/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-unit-testing.md b/README-unit-testing.md index 5bed8721..8b4e7768 100644 --- a/README-unit-testing.md +++ b/README-unit-testing.md @@ -60,7 +60,7 @@ modified to contain a sections like the following: CLEANFILES = _generated_runner.c _generated_runner.c: $(test_myproj_SOURCES) - $(AM_V_GEN) $(GEN_RUNNER) $^ > $@ + $(AM_V_GEN) $(GEN_RUNNER) $(test_myproj_SOURCES) > $@ nodist_test_libguac_SOURCES = \ _generated_runner.c diff --git a/src/common/tests/Makefile.am b/src/common/tests/Makefile.am index 8169d7d7..a9c1b559 100644 --- a/src/common/tests/Makefile.am +++ b/src/common/tests/Makefile.am @@ -60,7 +60,7 @@ GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl CLEANFILES = _generated_runner.c _generated_runner.c: $(test_common_SOURCES) - $(AM_V_GEN) $(GEN_RUNNER) $^ > $@ + $(AM_V_GEN) $(GEN_RUNNER) $(test_common_SOURCES) > $@ nodist_test_common_SOURCES = \ _generated_runner.c diff --git a/src/libguac/tests/Makefile.am b/src/libguac/tests/Makefile.am index 01f4c4cf..4ab3269f 100644 --- a/src/libguac/tests/Makefile.am +++ b/src/libguac/tests/Makefile.am @@ -67,7 +67,7 @@ GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl CLEANFILES = _generated_runner.c _generated_runner.c: $(test_libguac_SOURCES) - $(AM_V_GEN) $(GEN_RUNNER) $^ > $@ + $(AM_V_GEN) $(GEN_RUNNER) $(test_libguac_SOURCES) > $@ nodist_test_libguac_SOURCES = \ _generated_runner.c