Skip to content

Commit

Permalink
Added DEBUG swith to make all builds DEBUG builds.
Browse files Browse the repository at this point in the history
./configure DEBUG will turn debugging on for all future
invocations of make.
  • Loading branch information
drbarrett committed Apr 1, 2015
1 parent 2fdc14e commit 9c661e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

OUTPUT=xia.mk

Expand All @@ -18,6 +18,8 @@ echo NPROCS=$(($CORES * 2)) >> $OUTPUT

echo XIADIR=$(pwd) >> $OUTPUT

[ "$1" == "DEBUG" ] && echo "DEBUG=1" >> $OUTPUT

cat >> $OUTPUT << EOF
APIDIR=\$(XIADIR)/api
BINDIR=\$(XIADIR)/bin
Expand Down

0 comments on commit 9c661e8

Please sign in to comment.