X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/4fabc188e14c33efdedad8d639f97dbaf872ec61..50de6870bb6839c1a62e3cc902f0b9b413eaaa8f:/Makefile diff --git a/Makefile b/Makefile index cd60c22..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: - $(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