only check uname if OS is Windows_NT
[smdp.git] / Makefile
index f922b7e..5801f84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,9 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 #
 
-OSTYPE  := $(shell uname -o)
 CURSES   = ncursesw
 ifeq (Windows_NT, $(OS))
+OSTYPE  := $(shell uname -o)
 ifneq (Cygwin, $(OSTYPE))
 CURSES  := pdcurses
 endif