On Apr 29, 12:24 pm, Manuel Collado <[email protected]> wrote:
> Dave escribió:
>
> After expanding the variable values and stripping down the file paths,
> it seems that the relevant part of your Makefile can be reduced to:
>
> %.so: %.o
> �...@echo "Building a Library"
>
> libPluginOne.so: PluginOne.o ...
>
> The last, explicit rule doesn't match the first, implicit rule (note the
> 'lib' prefix), and contains no actions, so ... "Nothing to do ..."
>
Thanks, I didn't realise the 'lib' was being treated as a prefix, I
had assumed that % would have matched the whole target including
prefix. After modifying the pattern rule to:
lib%.so: %.o
I saw my message "Building Library" being printed.
Thanks