Jamie Lokier schrieb: > Stefan Weil wrote: >> Jamie Lokier schrieb: >>> Stefan Weil wrote: >>> >>>> Make using mingw32 on windows does not preserve $@ in macros >>>> when they are modified using this pattern: >>>> target: macro += something >>>> >>> Is it not using GNU Make, or is it some ancient version? >>> ("make --version" shows the version, if it's GNU Make). >>> >>> -- Jamie >> GNU make 3.79.1 (2004) > > 3.79.1 is ancient, the GNU version being released in June 2000 :-) > > The behaviour of > > target: macro += something > > appears to be fixed in GNU make 3.80, which was released in October 2002. > (I've just tested 3.79.1 and 3.80 from GNU's ftp site). > > Is there not an update for mingw32 for a more recent make? > > -- Jamie
Of course it's ancient, but from the timestamp (if it was correct) I'd estimate that it takes 3 to 4 years to get a GNU release to windows :-) MSYS make 3.81-2 is available (and there is also a MinGW make, a make using MSVCRT). The MinGW update tool does not update MSYS make automatically (at least in my installation), and I rarely compile using mingw32 on windows (cross compilation from linux works better). So keeping MinGW/MSYS up-to-date is a little difficult. -- Stefan