]> git.llucax.com Git - software/makeit.git/blob - lib1/Build.mak
Add a global phony "test" target
[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_files,.h,$I/include/makeit/lib1)
17