help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assign a variable based on OS, how to do?


From: Maximus
Subject: Assign a variable based on OS, how to do?
Date: Thu, 30 Oct 2008 14:21:13 -0400

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! 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]