This is almost the same as the question related to you. You never create a file called mkBuildDir , therefore it is always deprecated, therefore build always deprecated.
Your mkBuildDir target does nothing useful (although I assume it is a shorthand make file). If you did
which is likely to accomplish what you are looking for.
Too many fake targets in a Makefile is usually the "code smell" of a makefile. They are rarely the best / idiomatic way to do something.
source share