In order to make the CPP static library include all objects from the C static library, the list of objects (MOSQ_OBJS) is isolated into objects.mk to be used for building the C and CPP static libraries. Signed-off-by: Lance Chen <cyen0312@gmail.com>