]> git.llucax.com Git - software/makeit.git/blob - lib2/Build.mak
Use symbolic names in Makefiles default goals
[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_headers,h,$I/include/makeit/lib2)
17