support out-of-tree build
authorPetr Hosek <phosek@chromium.org>
Wed, 18 Nov 2015 20:07:32 +0000 (12:07 -0800)
committerRich Felker <dalias@aerifal.cx>
Sun, 17 Jan 2016 21:34:43 +0000 (16:34 -0500)
commit2f853dd6b9a95d5b13ee8f9df762125e0588df5d
treea22fad94d42ca277ee5d5357a049f2f2876d1cac
parentd5f8394f6ea9549607567bd92de12a2446c15614
support out-of-tree build

this change adds support for building musl outside of the source
tree. the implementation is similar to autotools where running
configure in a different directory creates config.mak in the current
working directory and symlinks the makefile, which contains the
logic for creating all necessary directories and resolving paths
relative to the source directory.

to support both in-tree and out-of-tree builds with implicit make
rules, all object files are now placed into a separate directory.
.gitignore
Makefile
configure