In our company at the end of the 1980s we built embedded systems based on Z80 and 8051 chips; our compilers were CP/M.
We maintained the builds from a 386i/SunOS environment using make and SCCM. The builds were done using DOS with a CP/M emulator. Builds were run from a SunOS makefile.
Cool stuff for the time.