]> git.llucax.com Git - software/makeit.git/blobdiff - Build.mak
Fix source tree replication in build directory
[software/makeit.git] / Build.mak
index 6c4469763f5b423aea249a22248259ab868be82e..96bbecb8ff59a1463c6da5647bee3b60bafeecf8 100644 (file)
--- a/Build.mak
+++ b/Build.mak
@@ -1,21 +1,11 @@
 
-# Create the include directory symlink
-setup_include_dir__ := $(call symlink_include_dir,remake)
+# Create the include directory symbolic link
+setup_include_dir__ := $(call symlink_include_dir,makeit)
 
 # General rule to install headers of this project
-$I/include/remake/%.h: $T/%.h
+$I/include/makeit/%.h: $T/%.h
        $(call install_file)
 
 # Include sub-directories makefiles
+$(call include_subdirs,subproj lib1 lib2 prog)
 
-C := subproj
-include $T/subproj/Build.mak
-
-C := lib1
-include $T/lib1/Build.mak
-
-C := lib2
-include $T/lib2/Build.mak
-
-C := prog
-include $T/prog/Build.mak