One such tool is MultiBeast, a free and streamlined application that makes it both easy and fast to make sure that an macOS installation runs properly on a machine you built on your own, with the only condition that the hardware components match the ones Apple uses to build its Macs or can run using the drivers created by Apple for its own hardware platform. Allows you to rapidly install a bootloader for your hackintosh
Although Apple's macOS operating system has been designed to make it hard to use on other computers besides the ones sold by the Cupertino based company, there are tools that one can use to install macOS on computers with compatible hardware.