]> git.llucax.com Git - software/makeit.git/blobdiff - subproj/Toplevel.mak
Add a special variable for the full current makefile directory
[software/makeit.git] / subproj / Toplevel.mak
index 4738f47629f3f8b2cfe0cfb608252b947d73dcaf..f66fec0622f1acac9ada2753af9720e611533114 100644 (file)
@@ -1,6 +1,5 @@
-
-# Project name
-P := subproj
+ifndef Toplevel.mak.included
+Toplevel.mak.included := 1
 
 # Load top-level directory local configuration
 sinclude $T/Config.mak
 
 # Load top-level directory local configuration
 sinclude $T/Config.mak
@@ -11,8 +10,4 @@ include $T/Lib.mak
 # Include the Build.mak for this directory
 include $T/Build.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