diff options
Diffstat (limited to 'Makefile.subdir')
-rw-r--r-- | Makefile.subdir | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.subdir b/Makefile.subdir new file mode 100644 index 000000000..6aa62bf28 --- /dev/null +++ b/Makefile.subdir @@ -0,0 +1,13 @@ +.PHONY: _default_build_ +_default_build_: all +%: + @if test -e $(builddir); then \ + echo cd $(builddir); \ + cd $(builddir); \ + echo $(MAKE) $@; \ + $(MAKE) $@; \ + else \ + echo; \ + echo 'Run configure first, or type "make" in a configured build directory.'; \ + echo; \ + fi |