]> git.llucax.com Git - software/makeit.git/blob - lib2/Build.mak
Add a global phony "test" target
[software/makeit.git] / lib2 / Build.mak
1
2 # Build the shared library
3 $L/liblib2.so: CXXFLAGS += $(otherproj-PC-CFLAGS)
4 $L/liblib2.so: $(call find_objects,cpp) $L/liblib1.so $L/libotherproj.so
5
6 # Nice shortcut target
7 .PHONY: lib2
8 lib2: $L/liblib2.so
9
10 # Install the shared library
11 $I/lib/liblib2.so: $L/liblib2.so
12 install += $I/lib/liblib2.so
13
14 # Install the library's headers
15 # XXX: we can't use += here, call will be resolved lazily if we do
16 install := $(install) $(call find_files,.h,$I/include/makeit/lib2)
17