Support for building all dependencies

These commits update the makefile generated by `mkmk` to include an `all` target that allows one to build all dependencies of a specified package group.  It also modifies the `cflags` to include a sorted link line.