add dependencies to generate compile dir before objs.mk