[PATCH] makedep: touch the .tab.c file to ensure ordering
Marcus Meissner
marcus at jet.franken.de
Mon Mar 6 14:45:54 CST 2017
.tab.c and .tab.h are created too close together to confuse
make. Ensure a bit better ordering by touching mcy.tab.c
Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
---
tools/makedep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/makedep.c b/tools/makedep.c
index add722f80a..fa0bedb987 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -2389,6 +2389,7 @@ static struct strarray output_sources( const struct makefile *make )
output( "%s: %s\n", obj_dir_path( make, header ), source->filename );
output( "\t$(BISON) -p %s_ -o %s.tab.c -d %s\n",
obj, obj_dir_path( make, obj ), source->filename );
+ output( "\ttouch %s.tab.c\n", obj_dir_path( make, obj ));
output( "%s.tab.c: %s %s\n", obj_dir_path( make, obj ),
source->filename, obj_dir_path( make, header ));
strarray_add( &clean_files, header );
--
2.12.0
More information about the wine-patches
mailing list