Unix Programming - Finding Makefile targets.

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2004 > Finding Makefile targets.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Finding Makefile targets.
grid

2004-12-22, 7:47 am

Hi,
Can I know the targets of a Makefile without reading it ? I want to
know if there is any specific option/command which lists me all the
targets the Makefile can be invoked with.

TIA
grid
Russell Shaw

2004-12-22, 5:54 pm

grid wrote:
> Hi,
> Can I know the targets of a Makefile without reading it ? I want to
> know if there is any specific option/command which lists me all the
> targets the Makefile can be invoked with.


grep "^.*:" Makefile
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com