forked from AuroraMiddleware/gtk
allow setting $OBJ_DIR to specify building in a subdir
This commit is contained in:
parent
45c02db925
commit
14f08e6a93
@ -57,7 +57,13 @@ aclocal $ACLOCAL_FLAGS
|
||||
automake $am_opt
|
||||
autoconf
|
||||
|
||||
./configure "$@"
|
||||
if [ -z "$OBJ_DIR" ]; then
|
||||
./configure "$@"
|
||||
else
|
||||
mkdir -p "$OBJ_DIR"
|
||||
cd "$OBJ_DIR"
|
||||
../configure "$@"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Now type 'make' to compile $PROJECT."
|
||||
|
Loading…
Reference in New Issue
Block a user