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