X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/a2ee6d5ec3df0dfe487940c8fe88e9ba11fc1c64..e4930f73369d967703ae76f10c6cb1c329f5a7e2:/Makefile diff --git a/Makefile b/Makefile index a4c08fe..f78a4f0 100644 --- a/Makefile +++ b/Makefile @@ -1,33 +1,10 @@ +# Top-level directory +T := . -# prefix for installing the binaries and headers -prefix=/usr/local - - - -default: all - -all: - -install: - $(MAKE) -C src install - -doc: - $(MAKE) -C doc - -test: - $(MAKE) -C test test - -memtest: - $(MAKE) -C test memtest - -commit-check: doc test memtest - -clean: - $(MAKE) -C src clean - $(MAKE) -C doc clean - $(MAKE) -C test clean - -.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