Skip to content

Commit

Permalink
GUACAMOLE-637: The $^ variable is non-portable and specific to GNU …
Browse files Browse the repository at this point in the history
…Make. As otherwise POSIX-compliant platforms may not provide this variable, we shouldn't use it here.
  • Loading branch information
mike-jumper committed Jan 24, 2019
1 parent 789e388 commit b7761e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README-unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/common/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/libguac/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7761e9

Please sign in to comment.