]> git.llucax.com Git - software/makeit.git/blobdiff - Build.mak
Add doxygen-generated documentation support
[software/makeit.git] / Build.mak
index 45a47409d3cbd76cff4fc349514021af99b5c10b..a0a4458c0d3caf5aa6422ed44e4ad7d8e28e2e21 100644 (file)
--- 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