Skip to content
Browse files

Allow debug build using 'make' and document it

  • Loading branch information...
1 parent 19643d9 commit b68f6fef6ca6e707735368cebe0f99ad5f6d2c71 @funnelweb funnelweb committed Feb 24, 2013
Showing with 14 additions and 1 deletion.
  1. +13 −0 README.md
  2. +1 −1 config.make.in
View
13 README.md
@@ -23,6 +23,13 @@ The usual:
make
sudo make install
```
+By default that makes release binaries. To make debug, use
+```
+make clean
+make CONFIG=debug
+sudo make install CONFIG=debug
+```
+
### On MacOS (OSX)
@@ -32,6 +39,12 @@ Use a prefix to your version of Mono:
make
sudo make install
```
+By default that makes release binaries. To make debug, use
+```
+make clean
+make CONFIG=debug
+sudo make install CONFIG=debug
+```
### On Windows, using msbuild (e.g.. if .NET is installed)
```
View
2 config.make.in
@@ -33,7 +33,7 @@ DELAY_SIGN_TOKEN = b03f5f7f11d50a3a
SIGN_TOKEN = f536804aa0eb945b
bootstrapdir = $(bootstrap)/4.0/
-tmpdir = .libs/
+tmpdir = .libs/$(CONFIG)/
objdir = $(tmpdir)$(TARGET)/
protodir = $(builddir)/lib/proto/4.0/
outdir = $(builddir)lib/$(CONFIG)/$(TARGET)/

0 comments on commit b68f6fe

Please sign in to comment.
Something went wrong with that request. Please try again.