[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] listing targets in Makefile
- Subject: [ale] listing targets in Makefile
- From: hirsch at zapmedia.com (hirsch at zapmedia.com)
- Date: Mon, 28 Jan 2002 10:31:27 -0500
John Wells writes:
> It seems like there should be a way to do this, but I
> can't seem to find it. Is there a way, aside from
> opening the Makefile and searching through it
> manually, to simply parse it and list all valid
> targets?
You can get pretty close by grepping it for colons. I.e.,
grep ':' Makefile
You might pick up some extra lines, but a valid target must be in the
form "target:"
--Michael
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.