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