Makefile only creates build directory when necessary