X-Git-Url: https://git.llucax.com/software/makeit.git/blobdiff_plain/356b4610c9f48d07ce798e8b1fca229e08111f8f..cd9d10c747bb0098ccadd2d8211796b38f8ea2ef:/lib2/Build.mak?ds=sidebyside diff --git a/lib2/Build.mak b/lib2/Build.mak index 0d8e02e..3ef80b9 100644 --- a/lib2/Build.mak +++ b/lib2/Build.mak @@ -1,6 +1,16 @@ +# Build the shared library $L/liblib2.so: $(call find_objects,cpp) $L/liblib1.so $L/libotherproj.so +# Nice shortcut target .PHONY: lib2 lib2: $L/liblib2.so +# Install the shared library +$I/lib/liblib2.so: $L/liblib2.so +install += $I/lib/liblib2.so + +# Install the library's headers +# XXX: we can't use += here, call will be resolved lazily if we do +install := $(install) $(call find_headers,h,$I/include/remake/lib2) +