+# Copyright 2008 - 2011 Integratech S.A.
+# Copyright 2011 - 2014 Leandro Lucarella
+# Distributed under the Boost Software License, Version 1.0
+# See the LICENSE file for details, or http://www.boost.org/LICENSE_1_0.txt
-# Project name
-P := remake
+ifndef Toplevel.mak.included
+Toplevel.mak.included := 1
+
+# Load top-level directory project configuration
+sinclude $T/Config.mak
+
+# Load top-level directory local configuration
+sinclude $T/Config.local.mak
# Include the build system library
-include $T/Lib.mak
+include $T/Makeit.mak
# Include the Build.mak for this directory
include $T/Build.mak
-# Phony rule to make all the targets (sub-makefiles can append targets to build
-# to the $(all) variable).
-.PHONY: all
-all: $(all)
-
+endif