What's the best way to add thirdparty lib with existing makefile?

You should have a look at the ExternalProject module.