X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/e4dcc18c5604efcdb6a0a7425930478201621be3..d22d22101e7dda5da951a76408ec32708072849e:/Makefile 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