[Mono-devel-list] Build system

Piers Haken piersh at friskit.com
Thu May 22 21:30:45 EDT 2003

> -----Original Message-----
> From: Peter Williams [mailto:peter at newton.cx] 
> 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

Why not just define MCS_FLAGS in library.make? It's included from all
the relevant makefiles.

Even better, we could have a config.make, that defines these
arch-dependant settings and this file is included from both library.make
and executable.make and anywhere else that needs it.


More information about the Mono-devel-list mailing list