Assign a variable based on OS, how to do?
"Maximus" <[email protected]> Thu, 30 Oct 2008 14:21:13 -0400
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
I need to assign a variable which value is based on the operating system. It looks like this (pseduo code): CMD_NAME = OS == WIN ? cmd.bat : cmd.sh How to write it in GNU make? I am a newbie here. Thanks!