Since auto-tools support for .NET is generally quite terrible.
There are two versions:
mcs.mk
, usesmcs
to fully control the build and;xbuild.mk
, delegates toxbuild
.
Both support Release and Debug switching via the CONFIG
make
variable, e.g:
$ make CONFIG=Release # One off build in Release mode
See the header of each file for configuration instructions, the repository shows a simple solution with three projects; Library, Library2 and a Program that references the two libraries.