]> git.llucax.com Git - software/makeit.git/blobdiff - lib1/Build.mak
Don't add extra spaces in abbr function
[software/makeit.git] / lib1 / Build.mak
index 7661dc4d4603b9d346a115d16a1e43913d499caa..356f07b047ba0208462361fd68cb967419bc0da2 100644 (file)
@@ -1,7 +1,17 @@
 
+# Build the shared library
 $L/liblib1.so: LINKER := $(CC)
 $L/liblib1.so: $(call find_objects,c)
 
+# Nice shortcut target
 .PHONY: lib1
 lib1: $L/liblib1.so
 
+# Install the shared library
+$I/lib/liblib1.so: $L/liblib1.so
+install += $I/lib/liblib1.so
+
+# Install the library's headers
+# XXX: we can't use += here, call will be resolved lazily if we do
+install := $(install) $(call find_files,.h,$I/include/makeit/lib1)
+