Qt update

Alberto Mardegan mardy at users.sourceforge.net
Tue Apr 9 07:04:25 PDT 2013


On 04/09/2013 05:47 PM, Dirk Hohndel wrote:
> Alberto Mardegan <mardy at users.sourceforge.net> writes:
>> # Find which object files need this special treatment
>> OBJS_NEEDING_MOC = $(grep -l '^#include ".*\.moc"' $(OBJS:.o=.c))
>>
>> # Extra dependency for the files found above
>> $(OBJS_NEEDING_MOC): qt-ui/%.o: qt-ui/%.moc qt-ui/ui_%.h
>>
>> See http://www.gnu.org/software/make/manual/html_node/Static-Usage.html
>
> Cool. I should have thought of that. Do you want to send a patch or
> should I just apply it and add your Signed-off-by ?

I'll send a patch, because I first need to verify that the rule above 
works as expected. :-)

Ciao,
   Alberto



More information about the subsurface mailing list