Thanks. shell UNAME is a nice trick.

$ uname 
Darwin
Christoph Kukulies




> Am 28.12.2020 um 21:28 schrieb Ken Cunningham 
> <[email protected]>:
> 
> > Does macOS supply any built-in variable for building that if block?
> 
> 
> See <https://stackoverflow.com/questions/714100/os-detecting-makefile 
> <https://stackoverflow.com/questions/714100/os-detecting-makefile>> and 
> similar examples for ways of detecting and branching on the OS in Makefiles.
> 
> Ken
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to