1 # /Link image : objects ;
3 # Links _image_ from _objects_ and sets permissions on _image_ to
4 # $(EXEMODE). _image_ must be an actual filename; suffix is not
7 # Called by @Main, shouldn't be called by most people
10 MODE on $(<) = $(EXEMODE) ;
15 # /LinkFlagsOn mains : flags ;
17 # this rule is used to add compiler flags to the compilation of
18 # specific C sources files.
21 LINKFLAGS on [ FGristFiles $(<) ] += $(>) ;
25 actions Link bind NEEDLIBS {
26 $(LINK) $(LINKFLAGS.all) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS.all) $(LINKLIBS)