<div dir="ltr">Apologies. Should have made it CC_OPT += -Wno-unused-function etc. But the filter-out is still causing problems.<div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 7, 2015 at 2:24 AM, Aditya Kousik <span dir="ltr"><<a href="mailto:adit267.kousik@...9..." target="_blank">adit267.kousik@...204.....</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I'm still learning my ropes at writing Makefiles and make descriptor files.</div><div>I can't seem to get the filter-out option working properly. Despite filling out</div><div><br></div><div>FILTER_OUT = somefile.cpp</div><div>SRC_CC += $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(SRC_DIR)/subdirs/*.cpp)))</div><div><br></div><div>the build system continues to add these to the set of files to be built.</div><div><br></div><div>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Ā </div><div>CC_OPT += -Wunused-function -Wunused-variable</div><div><br></div><div>Build system still throws the above warnings. Are the spacing and/or use of commas crucial to the build system?</div><div><br></div><div>Thanks and regards,</div><div>Aditya</div></div>
</blockquote></div><br></div>