Correct sub-makefile for dependency