Module: wine Branch: master Commit: f82b3e57448ee753b35aa42dbe3959a536d1aaae URL: https://source.winehq.org/git/wine.git/?a=commit;h=f82b3e57448ee753b35aa42db...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Apr 18 03:22:27 2018 +0200
makefiles: Make it possible to only build the tests.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/makedep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/makedep.c b/tools/makedep.c index 4fc8435..2c5b40a 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3577,7 +3577,7 @@ static void output_subdirs( struct makefile *make ) } if (winetest_deps.count) { - output( "programs/winetest:" ); + output( "buildtests programs/winetest:" ); output_filenames( winetest_deps ); output( "\n" ); output( "check test:" ); @@ -3588,6 +3588,7 @@ static void output_subdirs( struct makefile *make ) strarray_add( &make->phony_targets, target ); } output( "\n" ); + strarray_add( &make->phony_targets, "buildtests" ); strarray_add( &make->phony_targets, "check" ); strarray_add( &make->phony_targets, "test" ); }