When you build a program in Sun WorkShop, you are actually building a WorkShop target, which is an object derived from the following:
Build directory--The directory from which the build process is invoked and also the default directory for the makefile.
Build command--The command that invokes the make utility, which reads the makefile and builds the make targets.
Makefile--A file that contains entries that describe how to bring a make target up to date with respect to those files on which it depends (called dependencies). Since each dependency is a make target, it may have dependencies of its own. Targets and file dependencies and subdependencies form a tree structure that make traces when deciding whether or not to rebuild a make target.
Make target--An object that make knows how to build from the directions (rules) contained in a particular makefile. For example, a make target could be all or clean. Makefiles are generally designed so that the default target (the one you get when you do not specify a target) is the most commonly built target.
When a WorkShop target is built, it is added to the list of WorkShop targets in the Build menu and in the Edit Target command. When you begin a build, Sun WorkShop looks for the first target in the WorkShop target list and builds it.
For information on the make utility, makefiles, and make targets, see Appendix B, The make Utility and Makefiles."