From 9b628edc495fea56a1420383d98e86b4734abcbf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 5 Mar 2003 22:49:29 +0000 Subject: Henrik Backe modified the check for cygwin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3387 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uisimulator/win32/Makefile') diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index 614c172620..d152ea7933 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile @@ -67,8 +67,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mno-cygwin APPCFLAGS = $(DEBUG) $(DEFINES) $(APPINCLUDES) -W -Wall -mno-cygwin -UNAME := $(shell uname) -ifeq ($(UNAME),CYGWIN_NT-5.1) +UNAME := $(shell uname|sed -e "s/CYGWIN.*/CYGWIN/") +ifeq ($(UNAME),CYGWIN) CC = gcc WINDRES = windres DEFINES += -DNOCYGWIN -- cgit v1.2.3