makefiles: Generate the winetest rules from the WINE_CONFIG_TEST macro.