On Fri, Aug 19, 2011 at 4:47 AM, narke <[email protected]> wrote: > Only do that the first time in build directory is okay. If the path > really changed (by installed a new version of the compiler), the user > can manually rerun something to get the updated path. How to > implement this?
This is largely the problem domain of tools like Autoconfig/automake (and many, many others). If you want cross-run persistence, the setting has to be saved somewhere (a file or the environment). Make has no built-in support for such things, so you'll need to build it yourself. Abstractly what you need to do is store the config setting in its own makefile, e.g.: config.make: FOO ?= bar And then: include config.make in your main makefile(s). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
