Is there a way to call a makefile from inside build.gradle?

Is there a way to call a makefile from inside build.gradle?

Have a look at the Exec task. It allows you to execute an external executable from Gradle.

You can use an ‘Exec’ task. For details see the Gradle Build Language Reference.