v01d commented on pull request #395:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/395#issuecomment-694952602


   I understand completely and your analysis is correct. I agree that VPATH is 
problematic and that whole "use the path to build object name" only complicates 
it. We should eventually improve that, but that is a whole problem in itself.
   On the other hand, I see no problem in modifying CLEAN to work as I 
suggested. We only need to ensure it works OK for all cases. I think that 
extending CLEAN macro this way is a good step towards a direction without 
depending on VPATH (in that scenario I would guess that each source file has a 
full path, so doing `rm` on $(OBJS) should be the best way).
   
   Can you try the suggested approach and test it? This would of course be a 
change in nuttx repo.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to