X-Git-Url: https://git.llucax.com/software/makeit.git/blobdiff_plain/356b4610c9f48d07ce798e8b1fca229e08111f8f..bd1e098b0726f0ffdca3bea2937fada9dbabd9b4:/Build.mak diff --git a/Build.mak b/Build.mak index 45a4740..a0a4458 100644 --- a/Build.mak +++ b/Build.mak @@ -1,16 +1,22 @@ -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/makeit/%.h: $T/%.h + $(call install_file) # Include sub-directories makefiles -C := subproj -include $T/subproj/Build.mak +S := subproj +include $T/$S/Build.mak + +S := lib1 +include $T/$S/Build.mak -C := lib1 -include $T/lib1/Build.mak +S := lib2 +include $T/$S/Build.mak -C := lib2 -include $T/lib2/Build.mak +S := prog +include $T/$S/Build.mak -C := prog -include $T/prog/Build.mak