<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks. shell UNAME is a nice trick.<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(124, 105, 56); background-color: rgba(255, 170, 161, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ uname </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(124, 105, 56); background-color: rgba(255, 170, 161, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Darwin</span></div><div class="">
<div>Christoph Kukulies</div><div><br class=""></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Am 28.12.2020 um 21:28 schrieb Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">> <span style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Does macOS supply any built-in variable for building that if block?</span></div><div class=""><br class=""></div><div class=""><br class=""></div>See <<a href="https://stackoverflow.com/questions/714100/os-detecting-makefile" class="">https://stackoverflow.com/questions/714100/os-detecting-makefile</a>> and similar examples for ways of detecting and branching on the OS in Makefiles.<div class=""><br class=""></div><div class="">Ken</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>