Strictness in syntax of Makefiles

Aditya Kousik adit267.kousik at ...9...
Thu May 7 11:39:14 CEST 2015


Apologies. Should have made it CC_OPT += -Wno-unused-function etc. But the
filter-out is still causing problems.

Cheers

On Thu, May 7, 2015 at 2:24 AM, Aditya Kousik <adit267.kousik at ...9...>
wrote:

> Hello all,
>
> I'm still learning my ropes at writing Makefiles and make descriptor files.
> I can't seem to get the filter-out option working properly. Despite
> filling out
>
> FILTER_OUT = somefile.cpp
> SRC_CC += $(filter-out $(FILTER_OUT),$(notdir $(wildcard
> $(SRC_DIR)/subdirs/*.cpp)))
>
> the build system continues to add these to the set of files to be built.
>
> Next, most of the screen is bombarded with unused-variable and
> unused-function warnings. I tried to suppress them as mentioned in the
> build system manual with the
> CC_OPT += -Wunused-function -Wunused-variable
>
> Build system still throws the above warnings. Are the spacing and/or use
> of commas crucial to the build system?
>
> Thanks and regards,
> Aditya
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20150507/8f7908ac/attachment.html>


More information about the users mailing list