]> git.llucax.com Git - software/posixx.git/blobdiff - Makefile
Use makeit build system
[software/posixx.git] / Makefile
index a4c08fefe2eb50ef31ec1d76180065103f4ff49e..f78a4f000b262aaffb9902768c5969ec4f29b9a8 100644 (file)
--- 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