]> git.llucax.com Git - software/makeit.git/blobdiff - Build.mak
Use symbolic names in Makefiles default goals
[software/makeit.git] / Build.mak
index 0f18c0b2a410aa58452ea62e0bfd82bca2233bbb..8e6acff652db91ffd875ead1c9829dce719e8354 100644 (file)
--- a/Build.mak
+++ b/Build.mak
@@ -1,15 +1,21 @@
 
+# 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
+S := subproj
 include $T/subproj/Build.mak
 
-C := lib1
+S := lib1
 include $T/lib1/Build.mak
 
-C := lib2
+S := lib2
 include $T/lib2/Build.mak
 
-C := prog
+S := prog
 include $T/prog/Build.mak
-