Francois Gouget fgouget@codeweavers.com writes:
The first one, in Make.rules.in, makes sure that if you modify wtmain.o, then all tests will be rebuilt. You would think that the .c.o implicit rule should do that already, but this is not the case. I suppose it's because the file is not in the local directory.
Actually this should be done from the top-level makefile, rebuilding from the sub-makefiles can cause trouble, particularly with parallel makes.
The second one, in winetest/Makefile.in, fixes out of tree builds (wine.xs may be in ../../../src/program/winetest).
VPATH should take care of that. Do you have a make that requires this? If so there are many other places we need to fix too.