diff options
| author | Akim Demaille <akim@lrde.epita.fr> | 2012-12-14 17:18:03 +0100 |
|---|---|---|
| committer | Akim Demaille <akim@lrde.epita.fr> | 2012-12-18 10:06:20 +0100 |
| commit | 3f09b90d211a86c1d002a786a5ffc34b72fba780 (patch) | |
| tree | 83cf6a8b7031af509712a70ff92f69a4366e0861 /README | |
| parent | d815896d4c07acbf12ca4b57b2ad530d85147de4 (diff) | |
| download | tinycc-3f09b90d211a86c1d002a786a5ffc34b72fba780.tar.gz tinycc-3f09b90d211a86c1d002a786a5ffc34b72fba780.tar.bz2 | |
build: fix VPATH builds
* configure (fn_dirname): New.
Use it to ensure the creation of proper symlinks to Makefiles.
(config.mak): Define top_builddir and top_srcdir.
(CPPFLAGS): Be sure to find the headers.
* Makefile, lib/Makefile, tests/Makefile, tests2/Makefile: Adjust
to set VPATH properly.
Fix confusion between top_builddir and top_srcdir.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -35,6 +35,16 @@ Documentation: make test make install +Alternatively, VPATH builds are supported: you may use different +directories to old build objects, kept separate from your source tree: + + mkdir _build + cd _build + ../configure + make + make test + make install + By default, tcc is installed in /usr/local/bin. ./configure --help shows configuration options. |
