On 28/06/2012 15:28, Thomas Martitz wrote:
Am 28.06.2012 15:41, schrieb Nick Treleaven:
-include localwin32.mk ifdef MSYS CP = cp CP_R = cp -r RM = rm DIRSEP = / endif
And then perhaps use $(MAKE) CP="$(CP)" RM="$(RM)" to pass these variables to the sub-makefiles so they don't need to have copies of the ifdef. They only need CP and RM.
Make variables are survive recursive invocations don't they?
Not sure what you mean.