]> git.llucax.com Git - software/makeit.git/blobdiff - lib2/Build.mak
Allow overriding Doxygen configuration
[software/makeit.git] / lib2 / Build.mak
index 02841c5085e838c5f31318d9cef8e14a60fe3d5d..893f8f720116ac914e950c3272af77013cf1c1af 100644 (file)
@@ -1,6 +1,17 @@
 
-$L/liblib2.so: $(call find_objects,cpp) $L/liblib1.so $L/libsubproj.so
+# Build the shared library
+$L/liblib2.so: CXXFLAGS += $(otherproj-PC-CFLAGS)
+$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_files,.h,$I/include/makeit/lib2)
+