X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/7b35c34eaa3ee421eb5effc63801aeff69a9ffe8..50de6870bb6839c1a62e3cc902f0b9b413eaaa8f:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 141ae00..f78a4f0 100644 --- a/Makefile +++ b/Makefile @@ -1,28 +1,10 @@ +# Top-level directory +T := . -# prefix for installing the binaries and headers -prefix=/usr/local - - - -default: all - -all: test memtest - -install: - $(MAKE) -C src $@ - -doc: - $(MAKE) -C doc $@ - -test memtest: all - $(MAKE) -C test $@ - -clean: - $(MAKE) -C src $@ - $(MAKE) -C doc $@ - $(MAKE) -C test $@ - -.PHONY: default all install doc test memtest clean +# Default goal for building this directory +.DEFAULT_GOAL := all +# Include the top-level makefile +include $T/Toplevel.mak