]> git.llucax.com Git - software/makeit.git/blob - lib1/Build.mak
bf29c8f408e2bbf3a2c8313a2e452434ae6733be
[software/makeit.git] / lib1 / Build.mak
1
2 # Build the shared library
3 $L/liblib1.so: LINKER := $(CC)
4 $L/liblib1.so: $(call find_objects,c)
5
6 # Nice shortcut target
7 .PHONY: lib1
8 lib1: $L/liblib1.so
9
10 # Install the shared library
11 $I/lib/liblib1.so: $L/liblib1.so
12 install += $I/lib/liblib1.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/remake/lib1)
17