[Mono-devel-list] Build system
Miguel de Icaza
miguel at ximian.com
Sat May 24 10:51:56 EDT 2003
> If you're going to use make I don't think there are any really good ways
> to have a variable (MCS_FLAGS or whatever) that is changable and
> relevant at all points in the build tree.
> For example, you can do MCS_FLAGS = -d:foo in your toplevel makefile,
> and have
> $(MAKE) -C $$subdir MCS_FLAGS=$(MCS_FLAGS)
> whenever you invoke make recursively, but then if you run it in a
> subdirectory the variable will be blank.
> export MCS_FLAGS='-d:foo'
> make -e
> might work but then you'd need to do this every time and make -e might
> have side effects.
What about setting the MCS_FLAGS at a top-level config file?
We would then include this file during the build process.
More information about the Mono-devel-list