Modified the Makefiles to execute them in required order.

Due to dependency of hvcaApp/medm/hv_adl on adl_genApp to be made it failed.
Also making of generalApp/alh was depending on make of hvcaApp/DB.
Both cases fixed.