Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Construct package dependencies using Go
For best results, Make should be told about all the files a given target depends on. For Go programs, this is the program's main Go file, and all non-test Go files in directories corresponding to packages the main Go file depends upon (including transitive dependencies). This adds a Make macro using go list to retrieve a package's dependencies, and constructs the corresponding list of files to use as target prerequisites. Signed-off-by: Stephen Kitt <skitt@redhat.com>
- Loading branch information