X-Git-Url: https://git.llucax.com/software/makeit.git/blobdiff_plain/a4419536621943012477a48fc1fc5b1c730a2834..b4318ebdd9e5b4d6943ee84e3437a7677cd8c3e0:/Build.mak diff --git a/Build.mak b/Build.mak index 0f18c0b..96bbecb 100644 --- a/Build.mak +++ b/Build.mak @@ -1,15 +1,11 @@ -# Include sub-directories makefiles - -C := subproj -include $T/subproj/Build.mak +# Create the include directory symbolic link +setup_include_dir__ := $(call symlink_include_dir,makeit) -C := lib1 -include $T/lib1/Build.mak +# General rule to install headers of this project +$I/include/makeit/%.h: $T/%.h + $(call install_file) -C := lib2 -include $T/lib2/Build.mak - -C := prog -include $T/prog/Build.mak +# Include sub-directories makefiles +$(call include_subdirs,subproj lib1 lib2 prog)