README ¶ makefile Makefile is a Go package for parsing Makefiles. It is in very early infancy and only parses simple Makefiles, and only provides a list of targets within. Contributions are welcome. go get 4d63.com/makefile Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Makefile func Unmarshal(r io.Reader) (Makefile, error) type Target Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Makefile ¶ type Makefile struct { Targets []Target } Makefile is a description of a parsed Makefile file. func Unmarshal ¶ func Unmarshal(r io.Reader) (Makefile, error) Unmarshal parses the reader into a Makefile struct. type Target ¶ type Target struct { Name string } Target is a description of a single target in a Makefile. Source Files ¶ View all Source files makefile.go target.go unmarshal.go Click to show internal directories. Click to hide internal directories.