X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/21c52612c160be6cc767ac3a5ffb5243e2f66da1..50de6870bb6839c1a62e3cc902f0b9b413eaaa8f:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 8433701..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: doc 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