Hello, I'm having problems stopping make from passing variables passed on the command line to a sub-make.
My toplevel make does this: $(MAKE) -C subdir1 BUILD_DIR=builddir subdir1/Makefile then does: $(MAKE) -C subdir2 subdir2/Makefile happens to use the variable BUILD_DIR in an incompatible way to the top-level variable so I would like to stop it being passed via MAKEFLAGS. Is there a way to do this? The manual mentions unsetting MAKEFLAGS or MAKEOVERRIDES but this seems to have no effect. $(MAKE) -C subdir2 MAKEFLAGS= MAKEOVERRIDES= Behaves in the same way. Is what I'm trying to do possible with GNU make? Thanks, _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
