diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-17 19:17:00 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-17 19:17:00 +0200 |
commit | 49d8a0e9c6e32701c7eca91a1204237d3a334e38 (patch) | |
tree | 500e0c09a66970494dffbfe3a36f958762d22f99 /Makefile | |
parent | 7f779e7937cca133ea5f2d18c154c6564516fd9f (diff) |
support building out-of-tree
Handle O=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -6,9 +6,12 @@ # top_srcdir=./ -top_builddir=./ -#include $(top_builddir)Rules.mak -#all: libs -include Makefile.in +top_builddir=$(if $(O),$(O),.)/ +export top_builddir + +# We do not need built-in implicit rules +MAKEFLAGS += -r + +include $(top_srcdir)Makefile.in include $(top_srcdir)Makerules include $(top_srcdir)Makefile.help |